fixtures

package
v0.0.0-...-6866aad Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 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 Basic

type Basic struct {
	WeekendInfo WeekendInfo        `yaml:"WeekendInfo"`
	SessionInfo SessionInfoDetails `yaml:"SessionInfo"`
}

func ParseBasicFromString

func ParseBasicFromString(in string) (*Basic, error)

type CarSetupOptions

type CarSetupOptions map[string]map[string]map[string]string

type InlineMap

type InlineMap struct {
	UpdateCount int             `yaml:"UpdateCount"`
	Options     CarSetupOptions `yaml:",inline"`
}

func ParseInlineMapFromString

func ParseInlineMapFromString(in string) (*InlineMap, error)

type SessionInfoDetails

type SessionInfoDetails struct {
	Sessions []SessionInfoSession `yaml:"Sessions"`
}

type SessionInfoSession

type SessionInfoSession struct {
	SessionType      string                   `yaml:"SessionType"`
	ResultsPositions []SessionResultsPosition `yaml:"ResultsPositions"`
}

type SessionResultsPosition

type SessionResultsPosition struct {
	Position      int     `yaml:"Position"`
	ClassPosition int     `yaml:"ClassPosition"`
	Time          float64 `yaml:"Time"`
	FastestTime   float32 `yaml:"FastestTime"`
}

type WeekendInfo

type WeekendInfo struct {
	TrackName string `yaml:"TrackName"`
	TrackID   int    `yaml:"TrackID"`
}

Jump to

Keyboard shortcuts

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