Documentation ¶
Overview ¶
This file is generated by digogen. Run 'digogen' to regenerate.
You can install this tool by running `go install github.com/werbenhu/digo/digogen`. For more details, please refer to https://github.com/werbenhu/digo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller interface {
Print()
}
type RoleController ¶
type RoleController struct {
Name string
}
func NewRoleController ¶
func NewRoleController(name string) *RoleController
@group({"id":"group.controllers"}) @inject({"param":"name", "id":"main.role.name"})
func (*RoleController) Print ¶
func (c *RoleController) Print()
type UserController ¶
type UserController struct {
Name string
}
func NewUserController ¶
func NewUserController(name string) *UserController
@group({"id":"group.controllers"}) @inject({"param":"name", "id":"main.user.name"})
func (*UserController) Print ¶
func (c *UserController) Print()
Click to show internal directories.
Click to hide internal directories.