Files
go-enum/example/example.go
T
Alex Bice 5ed55ce3d4 Add case invariant parsing (#45)
* Add case insensitive parsing
2021-02-16 12:22:23 -07:00

14 lines
326 B
Go

//go:generate ../bin/go-enum -f=$GOFILE --marshal --nocase --flag --names
package example
// X is doc'ed
type X struct {
}
// Make x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes-Benz,_,Volkswagon)
type Make int32
// Make x ENUM(start=20,middle,end,ps,pps,ppps)
type NoZeros int32