update authorized.go, database.go, go.mod, server.go

This commit is contained in:
redtea committed 2024-10-21 12:00:00 +03:00
1 parent b7d0e58ebf
commit 33a3121296
4 files changed
+162

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package esaccount
type AuthorizedUser struct {
Id int64 `json:"id" gorm:"unique;primaryKey;autoIncrement"`
Username string `json:"username"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
PictureURL string `json:"picture_url"`
Email string `json:"email"`
Access string `json:"access"`
TelegramId string `json:"telegram_id"`
GoogleId string `json:"google_id"`
}