diff options
Diffstat (limited to 'pkg/models/outdated.go')
-rw-r--r-- | pkg/models/outdated.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/models/outdated.go b/pkg/models/outdated.go index a760da3..e65fcb4 100644 --- a/pkg/models/outdated.go +++ b/pkg/models/outdated.go @@ -2,8 +2,16 @@ package models +type OutdatedSource string + +const ( + OutdatedSourceRepology OutdatedSource = "repology" + OutdatedSourceAnitya OutdatedSource = "anitya" +) + type OutdatedPackages struct { Atom string `pg:",pk"` GentooVersion string NewestVersion string + Source OutdatedSource } |