model

package
v0.0.0-...-acd0fa8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Race

type Race struct {
	RaceResults []*RaceResult `json:"race_results"`
}

Race is race details

func (*Race) ToJSON

func (r *Race) ToJSON() string

ToJSON is Race struct to json

type RaceResult

type RaceResult struct {
	Rank         string `json:"rank"`          // 着順
	FrameNumber  string `json:"frame_number"`  // 枠番
	HorseNumber  string `json:"horse_number"`  // 馬番
	HorseName    string `json:"horse_name"`    // 馬名
	Age          string `json:"age"`           // 性齢
	Weight       string `json:"weight"`        // 斤量
	JockeyName   string `json:"jockey_name"`   // 騎手
	Time         string `json:"time"`          // タイム
	Gap          string `json:"gap"`           // 着差
	TimeIndex    string `json:"time_index"`    // タイム指数
	Passing      string `json:"passing"`       // 通過
	Rise         string `json:"rise"`          // 上り
	Odds         string `json:"odds"`          // 単勝
	Popular      string `json:"popular"`       // 人気
	HorseWeight  string `json:"horse_weight"`  // 馬体重
	TrainingTime string `json:"training_time"` // 調教タイム
	Comment      string `json:"comment"`       // 厩舎コメント
	Remarks      string `json:"remarks"`       // 備考
	TrainerName  string `json:"trainer_name"`  // 調教師
	OwnerName    string `json:"owner_name"`    // 馬主
	Prize        string `json:"prize"`         // 賞金(万円)
}

RaceResult is race result

Jump to

Keyboard shortcuts

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