Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenRequest ¶
OpenRequest holds the request data
type Repository ¶
type Repository interface {
OpenItem(OpenRequest) error
}
Repository provides access to item repository.
type Service ¶
type Service interface {
OpenItem(OpenRequest) error
}
Service provides beer adding operations.
func NewService ¶
func NewService(r Repository) Service
NewService creates an opening service with the necessary dependencies
Click to show internal directories.
Click to hide internal directories.