deprecated-oc-catalog/models/user.go

13 lines
285 B
Go
Raw Permalink Normal View History

2023-03-03 14:43:11 +01:00
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
}