Documentation ¶
Index ¶
- type DataSet
- type DataSetImpl
- func (dsi *DataSetImpl) AddTable(name string, table Table) error
- func (dsi *DataSetImpl) Initialise(name string) DataSet
- func (dsi *DataSetImpl) Name() string
- func (dsi *DataSetImpl) Table(name string) (Table, error)
- func (dsi *DataSetImpl) Tables() map[string]Table
- func (dsi *DataSetImpl) Teardown()
- type HeadingsTable
- type Table
- type TableHeader
- type TableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSet ¶
type DataSet interface { Initialise(name string) DataSet Name() string Tables() map[string]Table Table(name string) (Table, error) AddTable(name string, table Table) error Teardown() }
func NewDataSet ¶
type DataSetImpl ¶
type DataSetImpl struct {
// contains filtered or unexported fields
}
func (*DataSetImpl) Initialise ¶
func (dsi *DataSetImpl) Initialise(name string) DataSet
func (*DataSetImpl) Name ¶
func (dsi *DataSetImpl) Name() string
func (*DataSetImpl) Tables ¶
func (dsi *DataSetImpl) Tables() map[string]Table
func (*DataSetImpl) Teardown ¶
func (dsi *DataSetImpl) Teardown()
type HeadingsTable ¶
type HeadingsTable interface { Table Header() TableHeader }
type Table ¶
type Table interface { Name() string SetName(name string) Cell(xPos uint, yPos uint) interface{} CellFloat64(xPos uint, yPos uint) float64 CellString(xPos uint, yPos uint) string SetCell(xPos uint, yPos uint, value interface{}) SetColumnAndRowSize(colNum uint, rowNum uint) ColumnAndRowSize() (colNum uint, rowNum uint) }
type TableHeader ¶
type TableHeader []string
Click to show internal directories.
Click to hide internal directories.