You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import ( "MangheGo/api/v1/prize" "MangheGo/internal/model/entity" "context" )
type ( IPrize interface { GetPrizeList(ctx context.Context) (prizeList []*entity.Prize, err error) EditPrize(ctx context.Context, req *prize.EditPrizeReq) (err error) DeletePrize(ctx context.Context, id int) (err error) } )
var ( localPrize IPrize )
func Prize() IPrize { if localPrize == nil { panic("implement not found for interface IPrize, forgot register?") } return localPrize }
func RegisterPrize(i IPrize) { localPrize = i }
|