feat: Add API

feat: Add DB-backed time provider
This commit is contained in:
2023-03-04 23:08:48 +01:00
parent 415a6c8337
commit d1f67fbdb4
12 changed files with 8839 additions and 13 deletions
+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 {