Documentation ¶
Index ¶
- func BookTicket(c *gin.Context)
- func ClearCurrerntFixturesTable() error
- func ClearGamesTable() error
- func ClearNextFixturesTable() error
- func ClearStandingsTable() error
- func ClearTable(tableName string) error
- func CurrentFixtures(c *gin.Context)
- func DeleteTicket(c *gin.Context)
- func Fixture(c *gin.Context)
- func GetBookingPage(c *gin.Context)
- func GetHome(c *gin.Context)
- func GetLogin(c *gin.Context)
- func GetRegister(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func NextFixtures(c *gin.Context)
- func Register(c *gin.Context)
- func RenderTemplate(c *gin.Context, status int, template templ.Component) error
- func SaveGamesToDatabase(fixtures []gin.H, tableName string) error
- func SaveStandingsToDatabase(standings []gin.H) error
- func Standings(c *gin.Context)
- type RoundsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BookTicket ¶
BookTicket handles the booking of a ticket for a game
func ClearCurrerntFixturesTable ¶
func ClearCurrerntFixturesTable() error
func ClearGamesTable ¶
func ClearGamesTable() error
func ClearNextFixturesTable ¶
func ClearNextFixturesTable() error
func ClearStandingsTable ¶
func ClearStandingsTable() error
func ClearTable ¶
func CurrentFixtures ¶
func DeleteTicket ¶
func GetBookingPage ¶
func GetRegister ¶
func NextFixtures ¶
func RenderTemplate ¶
func SaveStandingsToDatabase ¶
Types ¶
type RoundsResponse ¶
type RoundsResponse struct {
Response []string `json:"response"`
}
Click to show internal directories.
Click to hide internal directories.