33 lines
737 B
Go
33 lines
737 B
Go
// ================================================================================
|
|
// 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 (
|
|
"context"
|
|
"server/internal/model"
|
|
)
|
|
|
|
type (
|
|
IReward interface {
|
|
List(ctx context.Context, in *model.RewardListIn) (out *model.RewardListOut, err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localReward IReward
|
|
)
|
|
|
|
func Reward() IReward {
|
|
if localReward == nil {
|
|
panic("implement not found for interface IReward, forgot register?")
|
|
}
|
|
return localReward
|
|
}
|
|
|
|
func RegisterReward(i IReward) {
|
|
localReward = i
|
|
}
|