Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAccount ¶
func GetAccount ¶
func GetAccount()
Types ¶
type Account ¶
type Account struct { ID int `gorm:"primary_key" json:"id"` UserID string `json:"username"` Username string `json:"user_id"` LoginType string `json:"login_type"` Country string `json:"country"` Email string `json:"email"` UserPicture string `json:"user_picture"` TeamID string `json:"team_id"` }
func ExistAccountByUserID ¶
ExistAccountByUserID checks if there is a account with the same user_id
type Player ¶
type Player struct { ID int `gorm:"primary_key" json:"id"` PlayerName string `json:"player_name"` SquadNumber string `json:"squad_number"` TeamNumber string `json:"team_number"` TeamId int `json:"team_id"` Nation string `json:"nation"` Height int `json:"height"` Weight int `json:"weight"` Age int `json:"age"` Foot string `json:"foot"` Position string `json:"position"` BallControl int `json:"ball_control"` Dribbling int `json:"dribbling"` Low_pass int `json:"low_pass"` Lofted_pass int `json:"lofted_pass"` Speed int `json:"speed"` Jump int `json:"jump"` }
func GetPlayerListByTeamID ¶
Click to show internal directories.
Click to hide internal directories.