Files
go-enum/_example/example.go
Alex Bice 2bf3f089be move examples folder (#112)
* Remove the need for the examples repo to be tested
2022-06-17 13:32:51 -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