Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Placements holds all possible values.
View Source
var Types = []Type{ Integer, IntegerRef, Decimal, DecimalRef, Pool, PoolRef, PrimarySeparator, SecondarySeparator, PoolSeparator, }
Types holds all possible values.
Functions ¶
This section is empty.
Types ¶
type Placement ¶ added in v5.22.0
type Placement byte
Placement determines the placement of the attribute on the sheet.
func ExtractPlacement ¶ added in v5.22.0
ExtractPlacement extracts the value from a string.
func (Placement) EnsureValid ¶ added in v5.22.0
EnsureValid ensures this is of a known value.
func (Placement) MarshalText ¶ added in v5.22.0
MarshalText implements the encoding.TextMarshaler interface.
func (*Placement) UnmarshalText ¶ added in v5.22.0
UnmarshalText implements the encoding.TextUnmarshaler interface.
type Type ¶
type Type byte
Type holds the type of an attribute definition.
const ( Integer Type = iota IntegerRef Decimal DecimalRef Pool PoolRef PrimarySeparator SecondarySeparator PoolSeparator )
Possible values.
const LastType Type = PoolSeparator
LastType is the last valid value.
func (Type) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Type) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Type) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.