Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
AddSushi(ctx context.Context, ID, ImageNumber, Name string, Ingredients []string) error
}
Service provides adding operations
func NewService ¶
func NewService(repository sushi.Repository) Service
NewService creates an adding service with the necessary dependencies
Click to show internal directories.
Click to hide internal directories.