Discover Packages
gitee.com/yemingzhi/GolangLearnPractice1
day11
communicateP02
server
model
package
Version:
v0.0.0-...-2bf1368
Opens a new window with list of versions in this module.
Published: Aug 25, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ERROR_USER_NOT_EXIST = errors .New ("user don't exist")
ERROR_USER_EXIST = errors .New ("user has been existed")
ERROR_USER_ID_PASSWARD = errors .New ("id and the password doesn't match")
)
type User struct {
UserId int `json:"userId"`
UserPwd string `json:"userPwd"`
UserName string `json:"userName"`
UserStatus int `json:"userStatus"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.