Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Benchmark_Add ¶
func Benchmark_Add2 ¶
Types ¶
type Client ¶
type Client struct { Username string `gorm:"column:username;type:varchar(100);not null;unique" json:"username"` RealName string `gorm:"column:real_name;type:varchar(100);default:'';not null" json:"real_name"` Password string `gorm:"column:password;type:varchar(100);not null" json:"password"` TelNum string `gorm:"column:tel_num;type:varchar(100);default:'';not null" json:"tel_num"` Notes string `gorm:"column:notes;type:varchar(255);default:'';not null" json:"notes"` Gender int32 `gorm:"column:gender;type:smallint;default:0;not null" json:"gender"` //0 女 1 男 IdCard string `gorm:"column:id_card;type:varchar(100);default:'';not null" json:"id_card"` RealNameAuthenticationWay int32 `gorm:"column:real_name_authentication_way;type:smallint;default:0;not null" json:"real_name_authentication_way"` Height float32 `gorm:"column:height;type:numeric(5,2);default:0.0;not null" json:"height"` // 身高 Weight float32 `gorm:"column:weight;type:numeric(5,2);default:0.0;not null" json:"weight"` // 体重 Nickname string `gorm:"column:nickname;type:varchar(100);default:'';not null" json:"nickname"` // 昵称 Birthday time.Time `gorm:"column:birthday;type:date;not null" json:"birthday"` // 生日 Labels string `gorm:"column:labels;type:varchar(500);default:'';not null" json:"labels"` // 个人标签 Introduction string `gorm:"column:introduction;type:varchar(500);default:'';not null" json:"introduction"` // 简介 Avatar string `gorm:"column:avatar;type:varchar(500);default:'';not null" json:"avatar"` // 头像 }
Click to show internal directories.
Click to hide internal directories.