feat: Add API
feat: Add DB-backed time provider
This commit is contained in:
1 parent
415a6c8337
commit
d1f67fbdb4
12 files changed
+8839
-13
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user