9 lines
201 B
Go
9 lines
201 B
Go
package domain
|
|
|
|
import "context"
|
|
|
|
// PersonRepository defines the interface for fetching person data
|
|
type PersonRepository interface {
|
|
FetchPeople(ctx context.Context, url string) ([]Person, error)
|
|
}
|