example

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllNegative added in v0.4.2

type AllNegative int

ENUM( Unknown = -5, Good, Bad, Ugly ).

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 ForceLowerType added in v0.3.10

type ForceLowerType int

ENUM( DataSwap, BootNode, )

type ForceUpperType added in v0.5.8

type ForceUpperType int

ENUM( DataSwap, BootNode, )

type GreekGod added in v0.5.7

type GreekGod string

ENUM(_,zeus, apollo, athena=20, ares)

type GreekGodCustom added in v0.5.7

type GreekGodCustom string

ENUM(_,zeus, apollo, _=19, athena="20", ares)

type ImageType added in v0.3.0

type ImageType int

ENUM(jpeg, jpg, png, tiff, gif)

type IntShop added in v0.5.7

type IntShop int

Shops ENUM( SOME_PLACE_AWESOME, SomewhereElse, LocationUnknown )

type JobState added in v0.3.0

type JobState int

ENUM(pending, processing, completed, failed)

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 NoZeros added in v0.1.4

type NoZeros int32

Make x ENUM(start=20,middle,end,ps,pps,ppps)

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 Product added in v0.2.3

type Product int32

Products of AcmeInc ENUM( Anvil, Dynamite, Glue )

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 )

type Status added in v0.4.2

type Status int

ENUM( Unknown = -1, Good, Bad ).

type StrState added in v0.5.7

type StrState string

ENUM(pending, running, completed, failed=error)

type X

type X struct{}

X is doc'ed

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL