dataset

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Index

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

func NewDataSet(name string) DataSet

type DataSetImpl

type DataSetImpl struct {
	// contains filtered or unexported fields
}

func (*DataSetImpl) AddTable

func (dsi *DataSetImpl) AddTable(name string, table Table) error

func (*DataSetImpl) Initialise

func (dsi *DataSetImpl) Initialise(name string) DataSet

func (*DataSetImpl) Name

func (dsi *DataSetImpl) Name() string

func (*DataSetImpl) Table

func (dsi *DataSetImpl) Table(name string) (Table, error)

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

type TableType

type TableType int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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