initial commit

This commit is contained in:
ycc
2023-03-03 14:43:11 +01:00
parent 7229007847
commit 88c21d1828
142 changed files with 13975 additions and 22 deletions

12
models/user.go Normal file
View File

@@ -0,0 +1,12 @@
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
}