We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b328f72 commit c65768fCopy full SHA for c65768f
_examples/struct-level/main.go
@@ -36,7 +36,7 @@ func (gender Gender) String() string {
36
if gender < Male || gender > Intersex {
37
return "unknown"
38
}
39
- return terms[gender]
+ return terms[gender-1]
40
41
42
// User contains user information
0 commit comments