mirror of
https://github.com/abice/go-enum.git
synced 2026-10-29 00:56:10 +08:00
24 lines
339 B
Go
24 lines
339 B
Go
//go:generate ../bin/go-enum -f=$GOFILE --names
|
|
|
|
package example
|
|
|
|
/* ENUM(
|
|
|
|
Unkno = 0
|
|
E2P15 = 32768
|
|
E2P16 = 65536
|
|
E2P17 = 131072
|
|
E2P18 = 262144
|
|
E2P19 = 524288
|
|
E2P20 = 1048576
|
|
E2P21 = 2097152
|
|
E2P22 = 33554432
|
|
E2P23 = 67108864
|
|
E2P28 = 536870912
|
|
E2P30 = 1073741824
|
|
|
|
)
|
|
|
|
*/
|
|
type Enum32bit uint32
|