13 lines
285 B
Go
13 lines
285 B
Go
package models
|
|
|
|
type UserModel struct {
|
|
ID string `json:"id,omitempty",bson:"_id"`
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
Email string `json:"email,omitempty"`
|
|
}
|
|
|
|
func Login(username, password string) bool {
|
|
return true
|
|
}
|