domain_model

package
v0.0.0-...-6dfb9d1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Number   int    `json:"driver_number"`
	FullName string `json:"full_name"`
	Country  string `json:"country_code"`
	Avatar   string `json:"avatar"`
	TeamName string `json:"team_name"`
}

type Podium

type Podium struct {
	Driver
	Position int `json:"position"`
}

type Race

type Race struct {
	Id          int       `json:"id"`
	Year        int       `json:"year"`
	StartDate   time.Time `json:"date_start"`
	CountryName string    `json:"country_name"`
	CircuitName string    `json:"circuit_name"`
}

Jump to

Keyboard shortcuts

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