Documentation
¶
Index ¶
- type AllNegative
- type Commented
- type ComplexCommented
- type DiffBase
- type Enum32bit
- type Enum64bit
- type ForceLowerType
- type ForceUpperType
- type GreekGod
- type GreekGodCustom
- type ImageType
- type IntShop
- type JobState
- type Make
- type NoZeros
- type OceanColor
- type Product
- type ProjectStatus
- type Shop
- type Status
- type StrState
- type X
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commented ¶ added in v0.1.5
type Commented int
Commented is an enumeration of commented values
ENUM( value1 // Commented value 1 value2 value3 // Commented value 3 )
type ComplexCommented ¶ added in v0.1.6
type ComplexCommented int
ComplexCommented has some extra complicated parsing rules.
ENUM(
_, // Placeholder with a ',' in it. (for harder testing)
value1 // Commented value 1 value2, value3 // Commented value 3 )
type DiffBase ¶ added in v0.6.0
type DiffBase int
ENUM(
B3 = 03 B4 = 04 B5 = 5 B6 = 0b110 B7 = 0b111 B8 = 0x08 B9 = 0x09 B10 = 0x0B B11 = 0x2B
)
type Enum32bit ¶ added in v0.4.0
type Enum32bit uint32
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 Enum64bit ¶ added in v0.4.0
type Enum64bit uint64
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 E2P31 = 2147483648 E2P32 = 4294967296 E2P33 = 8454967296 E2P63 = 18446744073709551615 )
type GreekGodCustom ¶ added in v0.5.7
type GreekGodCustom string
ENUM(_,zeus, apollo, _=19, athena="20", ares)
type IntShop ¶ added in v0.5.7
type IntShop int
Shops ENUM( SOME_PLACE_AWESOME, SomewhereElse, LocationUnknown )
type Make ¶ added in v0.1.3
type Make int32
Make x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes-Benz,_,Volkswagon)
type OceanColor ¶ added in v0.3.2
type OceanColor int
OceanColor is an enumeration of ocean colors that are allowed.
ENUM( Cerulean Blue Green )
type ProjectStatus ¶ added in v0.1.5
type ProjectStatus int
ENUM(pending, inWork, completed, rejected)
type Shop ¶ added in v0.5.7
type Shop string
Shops ENUM( SOME_PLACE_AWESOME, SomewhereElse, LocationUnknown )