Documentation ¶
Index ¶
- func RowToMap(om Row) map[string]interface{}
- type FieldName
- type GenericCellValue
- type MapRowPair
- type Row
- func NewRow(initialData ...MapRowPair) Row
- func NewRowFromMap(hash map[FieldName]GenericCellValue) Row
- func NewRowFromMapWithColumns(hash map[FieldName]GenericCellValue, columns []FieldName) Row
- func NewRowFromRow(row Row) Row
- func NewRowFromStruct(i interface{}, lowerCaseKeys bool) Row
- func SetFromStruct(row Row, i interface{}, lowerCaseKeys bool) Row
- type Table
- type TableName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericCellValue ¶
type GenericCellValue = interface{}
type MapRowPair ¶ added in v0.3.0
type MapRowPair = orderedmap.Pair[FieldName, GenericCellValue]
func MRP ¶ added in v0.3.0
func MRP(key FieldName, value GenericCellValue) MapRowPair
type Row ¶
type Row = *orderedmap.OrderedMap[FieldName, GenericCellValue]
func NewRow ¶ added in v0.3.0
func NewRow(initialData ...MapRowPair) Row
func NewRowFromMap ¶ added in v0.3.0
func NewRowFromMap(hash map[FieldName]GenericCellValue) Row
func NewRowFromMapWithColumns ¶ added in v0.3.0
func NewRowFromMapWithColumns(hash map[FieldName]GenericCellValue, columns []FieldName) Row
func NewRowFromRow ¶ added in v0.4.13
func NewRowFromStruct ¶ added in v0.3.0
func SetFromStruct ¶ added in v0.4.0
type Table ¶
func (*Table) SetColumnOrder ¶ added in v0.3.0
SetColumnOrder will set the given columns to be the first one to be output. Other columns already present in the order will be appended at the end, preserving the original order.
Click to show internal directories.
Click to hide internal directories.