table

package
v0.0.0-...-0418f2f Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

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

func New

func New(path string) (*Table, error)

func (*Table) Close

func (t *Table) Close() error

func (*Table) DeleteRow

func (t *Table) DeleteRow(key string) error

func (*Table) GetBlankRow

func (t *Table) GetBlankRow() (*row.Row, error)

func (*Table) GetColumnIndex

func (t *Table) GetColumnIndex(col string) int

func (*Table) GetColumnType

func (t *Table) GetColumnType(name string) int

func (*Table) GetRow

func (t *Table) GetRow(key string) (*row.Row, error)

func (*Table) Lock

func (t *Table) Lock(key string) bool

func (*Table) SetColumns

func (t *Table) SetColumns(n []string, c []int) bool

func (*Table) SetRow

func (t *Table) SetRow(key string, r *row.Row) error

func (*Table) Unlock

func (t *Table) Unlock(key string) bool

Jump to

Keyboard shortcuts

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