feat: Add API

feat: Add DB-backed time provider
This commit is contained in:
abdus committed 2023-03-04 23:08:48 +01:00
1 parent 415a6c8337
commit d1f67fbdb4
12 files changed
+8839 -13

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ var ErrInvalidLocation = errors.New("invalid location")
type TimesProvider interface {
Get(ctx context.Context, location string) ([]Times, error)
Name() string
}
type Times struct {