user

package
v0.0.0-...-82ea28c Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserActionSet = wire.NewSet(wire.Struct(new(Action), "*"))

Functions

This section is empty.

Types

type Action

type Action struct {
	Logger      *logger.Logger
	UserService *user.UserService
}

func (*Action) Info

func (a *Action) Info(c *gin.Context)

type Request

type Request struct {
	Id int32 `form:"id" binding:"required,number"` // 用户ID
}

type Response

type Response struct {
	Id       int32  `json:"id"`        // 用户ID
	NickName string `json:"nick_name"` // 用户昵称
}

Jump to

Keyboard shortcuts

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