MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / NewLotteryDrawHandler

Function NewLotteryDrawHandler

internal/api/lotteryDraw.go:17–21  ·  view source on GitHub ↗
(svc service.LotteryDrawService)

Source from the content-addressed store, hash-verified

15}
16
17func NewLotteryDrawHandler(svc service.LotteryDrawService) *LotteryDrawHandler {
18 return &LotteryDrawHandler{
19 svc: svc,
20 }
21}
22
23// RegisterRoutes 注册抽奖和秒杀的路由
24func (lh *LotteryDrawHandler) RegisterRoutes(server *gin.Engine) {

Callers 1

InitWebServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected