model

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Copyright © 2022 Yusuf DÜNDAR <info@dundar.dev>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Pos  string // Position
	Name string // Driver's full name
	Nat  string // Nationality
	Team string // Team/Constructor
	Pts  string // Points
}

Driver represents a Formula 1 driver's standings information.

type Race

type Race struct {
	GrandPrix string // Name of the Grand Prix
	Date      string // Date of the race
	Winner    string // Full name of the winning driver
	Car       string // Winning constructor/car
	Laps      string // Number of laps completed
	Time      string // Total race time of the winner
}

Race represents information about a specific Formula 1 race result.

type Team

type Team struct {
	Pos  string // Position
	Name string // Team/Constructor name
	Pts  string // Points
}

Team represents a Formula 1 constructor's standings information.

Jump to

Keyboard shortcuts

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