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