model

package
v0.0.0-...-c8194c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	ID            uuid.UUID
	DateTime      time.Time
	SeasonID      uuid.UUID
	HomeTeamID    uuid.UUID
	AwayTeamID    uuid.UUID
	HomeTeamScore int
	AwayTeamScore int
	YoutubeURL    url.URL
}

type Player

type Player struct {
	ID        uuid.UUID
	FirstName string
	LastName  string
}

type Season

type Season struct {
	ID        uuid.UUID
	Name      string
	StartDate time.Time
	EndDate   time.Time
	ByeWeeks  []time.Time
}

type Team

type Team struct {
	ID         uuid.UUID
	Name       string
	TeamColors []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL