Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { FetchGophers(ctx context.Context) ([]gopher.Gopher, error) FetchGopherByID(ctx context.Context, ID string) *gopher.Gopher }
Service provides fetching operations.
func NewService ¶
func NewService(repository gopher.Repository, logger log.Logger) Service
NewService creates a fetching service with the necessary dependencies
Click to show internal directories.
Click to hide internal directories.