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.

32 lines
720 B

6 months ago
  1. // ================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // You can delete these comments if you wish manually maintain this interface file.
  4. // ================================================================================
  5. package service
  6. import (
  7. "MangheGo/internal/model/entity"
  8. "context"
  9. )
  10. type (
  11. IPrize interface {
  12. GetPrizeList(ctx context.Context) (prizeList []*entity.Prize, err error)
  13. }
  14. )
  15. var (
  16. localPrize IPrize
  17. )
  18. func Prize() IPrize {
  19. if localPrize == nil {
  20. panic("implement not found for interface IPrize, forgot register?")
  21. }
  22. return localPrize
  23. }
  24. func RegisterPrize(i IPrize) {
  25. localPrize = i
  26. }