Documentation
¶
Index ¶
- Variables
- type CatalogRepo
- type CatalogUsecase
- func (uc *CatalogUsecase) CreateGame(ctx context.Context, c *Game) (*Game, error)
- func (uc *CatalogUsecase) GetGame(ctx context.Context, id int64) (*Game, error)
- func (uc *CatalogUsecase) ListGame(ctx context.Context, pageNum, pageSize int64) ([]*Game, error)
- func (uc *CatalogUsecase) UpdateGame(ctx context.Context, c *Game) (*Game, error)
- type Game
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewCatalogUsecase)
ProviderSet is biz providers.
Functions ¶
This section is empty.
Types ¶
type CatalogRepo ¶
type CatalogUsecase ¶
type CatalogUsecase struct {
// contains filtered or unexported fields
}
func NewCatalogUsecase ¶
func NewCatalogUsecase(repo CatalogRepo, logger log.Logger) *CatalogUsecase
func (*CatalogUsecase) CreateGame ¶
func (*CatalogUsecase) UpdateGame ¶
Click to show internal directories.
Click to hide internal directories.