package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 24, 2018
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cyclist struct {
UID string `json:"uid"`
Name string `json:"name"`
Points int `json:"points"`
}
type Etappe struct {
UID string `json:"uid"`
Day time.Time `json:"day"`
StartLocation string `json:"startLocation"`
FinishLocation string `json:"finishLocation"`
EtappeResult *EtappeResult `json:"etappeResult"`
}
type EtappeResult struct {
EtappeUID string `json:"etappeUid"`
DayRankings []string `json:"dayRankings"`
YellowRankings []string `json:"yellowRankings"`
ClimbRankings []string `json:"climbRankings"`
SprintRankings []string `json:"sprintRankings"`
}
type Tour struct {
Year int `json:"year"`
Etappes []Etappe `json:"etappes"`
Cyclists []Cyclist `json:"cyclists"`
}
type TourService struct {
}
@RestService( path = "/api/tour", novalidation = "true" )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.