ADD: added database connection for players data handling and started login funtion with database
This commit is contained in:
@@ -6,10 +6,10 @@ type Team struct {
|
||||
}
|
||||
|
||||
type Tournament struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Location string `json:"location"`
|
||||
MaxParticipants int `json:"maxParticipants"`
|
||||
Teams []Team `json:"teams"`
|
||||
OrganizerId string `json:"organizerId"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Location string `json:"location"`
|
||||
MaxParticipants int `json:"maxParticipants"`
|
||||
Teams []Team `json:"teams"`
|
||||
OrganizerId []string `json:"PlayerId"` // List of player IDs who are organizers
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user