Versions in this module Expand all Collapse all v1 v1.0.0 Jun 17, 2021 Changes in this version + const QRCodeScheme + const QRCodeTaskVersion + const TaskExtension + const TaskMIMEType + const TaskVersion + type Direction string + const DirectionEnter + const DirectionExit + type EarthModel string + const EarthModelFAISphere + const EarthModelWGS84 + type Goal struct + Deadline *Time + Type GoalType + type GoalType string + const GoalTypeCylinder + const GoalTypeLine + type QRCodeDirection int + const QRCodeDirectionEnter + const QRCodeDirectionExit + type QRCodeEarthModel int + const QRCodeEarthModelFAISphere + const QRCodeEarthModelWGS84 + type QRCodeGoal struct + Deadline *Time + Type QRCodeGoalType + type QRCodeGoalType int + const QRCodeGoalTypeCylinder + const QRCodeGoalTypeLine + type QRCodeSSS struct + Direction QRCodeDirection + TimeGates []*Time + Type QRCodeSSSType + type QRCodeSSSType int + const QRCodeSSSTypeElapsedTime + const QRCodeSSSTypeRace + type QRCodeTask struct + EarthModel QRCodeEarthModel + Goal *QRCodeGoal + SSS *QRCodeSSS + TaskType TaskType + Turnpoints []*QRCodeTurnpoint + Version int + func (q *QRCodeTask) String() (string, error) + func (q *QRCodeTask) Task() *Task + type QRCodeTaskType int + const QRCodeTaskTypeElapsedTime + const QRCodeTaskTypeRace + type QRCodeTurnpoint struct + Description string + Name string + Type QRCodeTurnpointType + Z QRCodeTurnpointZ + type QRCodeTurnpointType int + const QRCodeTurnpointTypeESS + const QRCodeTurnpointTypeNone + const QRCodeTurnpointTypeSSS + type QRCodeTurnpointZ struct + Alt int + Lat float64 + Lon float64 + Radius int + func (z *QRCodeTurnpointZ) MarshalJSON() ([]byte, error) + func (z *QRCodeTurnpointZ) UnmarshalJSON(value []byte) error + type SSS struct + Direction Direction + TimeGates []*Time + Type SSSType + type SSSType string + const SSSTypeElapsedTime + const SSSTypeRace + type Takeoff struct + TimeClose *Time + TimeOpen *Time + type Task struct + EarthModel EarthModel + Goal *Goal + SSS *SSS + Takeoff *Takeoff + TaskType TaskType + Turnpoints []*Turnpoint + Version int + func ParseTask(data []byte) (*Task, error) + func (t *Task) QRCodeTask() *QRCodeTask + type TaskType string + const TaskTypeClassic + type Time struct + Hour int + Minute int + Second int + func (t *Time) MarshalJSON() ([]byte, error) + func (t *Time) UnmarshalJSON(b []byte) error + type Turnpoint struct + Radius int + Type TurnpointType + Waypoint Waypoint + type TurnpointType string + const TurnpointTypeESS + const TurnpointTypeNone + const TurnpointTypeSSS + const TurnpointTypeTakeoff + type Waypoint struct + AltSmoothed int + Description string + Lat float64 + Lon float64 + Name string