9 lines
209 B
Go
9 lines
209 B
Go
package domain
|
|
|
|
import "context"
|
|
|
|
// LocationRepository defines the interface for loading locations
|
|
type LocationRepository interface {
|
|
LoadLocations(ctx context.Context, apiKey string) ([]Location, error)
|
|
}
|