example

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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

type AllNegative int

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

type Commented

type Commented int

Commented is an enumeration of commented values

ENUM( value1 // Commented value 1 value2 value3 // Commented value 3 )

type ComplexCommented

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

type DiffBase int

ENUM(

B3  = 03
B4  = 04
B5  = 5
B6  = 0b110
B7  = 0b111
B8  = 0x08
B9  = 0x09
B10 = 0x0B
B11 = 0x2B

)

type Enum32bit

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

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

type ForceLowerType int

ENUM( DataSwap, BootNode, )

type ForceUpperType

type ForceUpperType int

ENUM( DataSwap, BootNode, )

type GreekGod

type GreekGod string

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

type GreekGodCustom

type GreekGodCustom string

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

type ImageType

type ImageType int

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

type IntShop

type IntShop int

Shops ENUM( SOME_PLACE_AWESOME, SomewhereElse, LocationUnknown )

type JobState

type JobState int

ENUM(pending, processing, completed, failed)

type Make

type Make int32

Make x ENUM(Toyota,_,Chevy,_,Ford,_,Tesla,_,Hyundai,_,Nissan,_,Jaguar,_,Audi,_,BMW,_,Mercedes-Benz,_,Volkswagon)

type NoZeros

type NoZeros int32

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

type OceanColor

type OceanColor int

OceanColor is an enumeration of ocean colors that are allowed.

ENUM( Cerulean Blue Green )

type Product

type Product int32

Products of AcmeInc ENUM( Anvil, Dynamite, Glue )

type ProjectStatus

type ProjectStatus int

ENUM(pending, inWork, completed, rejected)

type Shop

type Shop string

Shops ENUM( SOME_PLACE_AWESOME, SomewhereElse, LocationUnknown )

type Status

type Status int

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

type StrState

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