datasheet

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATE1 = iota
	DATE2
	PAYEE
	TYPE
	DESC
	AMOUNT
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Date   string
	Payee  string
	Desc   string
	Amount float32
}

type Datasheet

type Datasheet struct {
	Err error
	// contains filtered or unexported fields
}

func New

func New(path, tab string) *Datasheet

func (*Datasheet) Cell

func (ds *Datasheet) Cell(col string, row int) (string, error)

func (*Datasheet) Content

func (ds *Datasheet) Content() ([]Content, error)

func (*Datasheet) Print

func (ds *Datasheet) Print(content interface{})

func (*Datasheet) Update

func (ds *Datasheet) Update(old, new Content) error

Jump to

Keyboard shortcuts

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