Documentation ¶ Index ¶ type Ping type User func GetUser() *User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Ping ¶ added in v1.6.0 type Ping struct { Type string Count int64 } type User ¶ type User struct { Uid int64 `redis:"uid" validate:"required,gte=0"` Name string `redis:"name" validate:"required,min=1,max=18"` Sex int64 `redis:"sex" validate:"required,gte=1,lte=2"` } func GetUser ¶ added in v1.9.0 func GetUser() *User for test Source Files ¶ View all Source files ping.go user.go Click to show internal directories. Click to hide internal directories.