// auto-initialization func init() { err := enum.Define(PENNY, NICKEL, DIME, QUARTER, HALF_DOLLAR, DOLLAR) if err != nil { fmt.Println(err) } }
// auto-initialization func init() { err := enum.Define(SPADE, HEART, DIAMOND, CLUB) if err != nil { fmt.Println(err) } }