mirror of
https://github.com/abice/go-enum.git
synced 2026-10-29 00:56:10 +08:00
11 lines
248 B
Go
11 lines
248 B
Go
//go:generate go-enum -f=example.go --marshal --lower --extensions
|
|
|
|
package example
|
|
|
|
// X is doc'ed
|
|
type X struct {
|
|
}
|
|
|
|
// Model x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes,_,Volkswagon)
|
|
type Model int32
|