deprecated-oc-catalog/models/user.go
2023-03-03 14:43:11 +01:00

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
}