controllers

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 2 Imported by: 0

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

func NewRoleName

func NewRoleName() string

@provider({"id":"main.role.name"})

func NewUserName

func NewUserName() string

@provider({"id":"main.user.name"})

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL