initial commit
This commit is contained in:
8
internal/domain/repository.go
Normal file
8
internal/domain/repository.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package domain
|
||||
|
||||
import "context"
|
||||
|
||||
// PersonRepository defines the interface for fetching person data
|
||||
type PersonRepository interface {
|
||||
FetchPeople(ctx context.Context, url string) ([]Person, error)
|
||||
}
|
||||
Reference in New Issue
Block a user