public

package
v0.0.0-...-31439ab Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID           uint   `json:"id"`
	Name         string `json:"Name"`                   // 名称
	EnName       string `json:"EnName"`                 // 英文名称
	CubeID       string `json:"CubeID"`                 // CubeID
	DelegateName string `json:"DelegateName,omitempty"` // 代表称呼: 高级代表\代表\实习代表...
	Avatar       string `json:"Avatar"`                 // 头像
	Level        uint   `json:"Level"`                  // 等级
	WcaID        string `json:"WcaID"`                  // wca ID
	Sign         string `json:"Sign"`                   // 签名
	Ban          bool   `json:"Ban"`                    //  封禁
}

func UserToUser

func UserToUser(u user.User) User

Jump to

Keyboard shortcuts

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