Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2017 Changes in this version + func InitData() + func InsertUser() + type User struct + Createtime time.Time + Email string + Id int64 + Lastip string + Lastlogintime time.Time + Logincount int + Nickname string + Password string + Remark string + Repassword string + Status int + Username string + func GetUsableUserByUsername(username string) (user User, err error) + func GetUserByUsername(username string) (user User, err error) + func GetUserOnlyByUsername(username string) (user User) + func ListUserByUsername(offset, limit int) []*User + func SearchUserByUsername(username string) []*User + func UpdateLoginTime(u *User) User + func (m *User) Delete() error + func (m *User) Insert() error + func (m *User) Read(fields ...string) error + func (m *User) Update(fields ...string) error + func (u *User) TableName() string