diff --git a/_examples/enum/model/model.go b/_examples/enum/model/model.go index bc7b9b1bcc2..5952763e54b 100644 --- a/_examples/enum/model/model.go +++ b/_examples/enum/model/model.go @@ -5,6 +5,10 @@ import ( "fmt" ) +// this file is provided as an example for int-based enums +// but if you instead wanted to support arbitrary +// english words for numbers to integers, consider +// github.com/will-lol/numberconverter/etoi or a similar library type IntTyped int const (