feat: Add API
feat: Add DB-backed time provider
This commit is contained in:
@@ -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