From e4cc54410a7e9341a57810d88af5628bbd23804b Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Mon, 6 Jan 2025 10:32:15 -0500 Subject: [PATCH] Update _examples/enum/model/model.go --- _examples/enum/model/model.go | 4 ++++ 1 file changed, 4 insertions(+) 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 (