Skip to content
Snippets Groups Projects
Commit 2005e844 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improve enum translation

parent 3314b1fa
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ func parseDirection(data string) CoachSequenceFormationDirection { ...@@ -84,7 +84,7 @@ func parseDirection(data string) CoachSequenceFormationDirection {
case rawDirectionUndefined: case rawDirectionUndefined:
return DirectionUndefined return DirectionUndefined
default: default:
return DirectionUndefined return DirectionUnknown
} }
} }
......
...@@ -27,6 +27,7 @@ const ( ...@@ -27,6 +27,7 @@ const (
DirectionForwards CoachSequenceFormationDirection = "FORWARDS" DirectionForwards CoachSequenceFormationDirection = "FORWARDS"
DirectionBackwards CoachSequenceFormationDirection = "BACKWARDS" DirectionBackwards CoachSequenceFormationDirection = "BACKWARDS"
DirectionUndefined CoachSequenceFormationDirection = "UNDEFINED" DirectionUndefined CoachSequenceFormationDirection = "UNDEFINED"
DirectionUnknown CoachSequenceFormationDirection = "UNKNOWN"
) )
type CoachSequenceFormation struct { type CoachSequenceFormation struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment