Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusOffShelf = domain.StatusOffShelf StatusOnShelf = domain.StatusOnShelf SaleTypeUnlimited = domain.SaleTypeUnlimited )
Variables ¶
View Source
var HandlerSet = wire.NewSet( InitService, web.NewHandler, )
View Source
var ServiceSet = wire.NewSet( InitTablesOnce, repository.NewProductRepository, service.NewService, )
Functions ¶
func InitTablesOnce ¶
func InitTablesOnce(db *egorm.Component) dao.ProductDAO
Types ¶
Click to show internal directories.
Click to hide internal directories.