types

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 0 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldName

type FieldName = string

type GenericCellValue

type GenericCellValue = interface{}

type MapRow

type MapRow = map[FieldName]GenericCellValue

type Row

type Row interface {
	GetFields() []FieldName
	GetValues() MapRow
}

type SimpleRow

type SimpleRow struct {
	Hash MapRow
}

func (*SimpleRow) GetFields

func (sr *SimpleRow) GetFields() []FieldName

func (*SimpleRow) GetValues

func (sr *SimpleRow) GetValues() MapRow

type Table

type Table struct {
	Columns []FieldName
	Rows    []Row
}

func NewTable

func NewTable() *Table

type TableName

type TableName = string

Jump to

Keyboard shortcuts

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