moved to pkgs

This commit is contained in:
Seraphim Strub 2023-03-06 20:53:07 +01:00
parent 7ea6ba6809
commit 843a357428
8 changed files with 44 additions and 41 deletions

14
cmd/dealsbot/api/api.go Normal file
View file

@ -0,0 +1,14 @@
package api
type Api interface {
Load() error
Get() []Deal
}
type DealsMap map[string]Deal
type Deal struct {
Id string
Title string
Url string
}