users_new.go 460 B

1234567891011121314151617181920
  1. // =================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package users
  5. import (
  6. "star/api/users"
  7. userLogic "star/internal/logic/users"
  8. )
  9. type ControllerV1 struct {
  10. users *userLogic.Users
  11. }
  12. func NewV1() users.IUsersV1 {
  13. return &ControllerV1{
  14. users: userLogic.New(),
  15. }
  16. }