Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserProvider = wire.NewSet( NewUserController, wire.Bind(new(UserController), new(*userController)), interactor.NewUserInteractor, wire.Bind(new(interactor.UserInteractor), new(*interactor.UserUseCase)), )
Functions ¶
func NewUserController ¶
func NewUserController(userRepository repository.UserRepository) *userController
Types ¶
type AppController ¶
type AppController struct {
User interface{ UserController }
}
func NewAppController ¶
func NewAppController(user UserController) *AppController
type RespUser ¶
func ParseUsers ¶
type UserController ¶
type UserController interface {
GetUsers(c Context)
}
Click to show internal directories.
Click to hide internal directories.