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