user

package
v0.0.0-...-4f9d474 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

func NewUserController

func NewUserController(s store.IStore) *UserController

NewUserController 创建一个 user controller.

func (*UserController) Create

func (u *UserController) Create(c *gin.Context)

Create 创建一个新用户.

func (*UserController) Get

func (u *UserController) Get(c *gin.Context)

Get 通过用户名查询用户信息.

Jump to

Keyboard shortcuts

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