ledger

package
v0.0.0-...-c914e5a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TableName = "ledger"

TableName is the name of the ledger table

Variables

View Source
var TableSchema = sqlite.Schema{
	"id":          "INTEGER PRIMARY KEY",
	"Date":        "TEXT",
	"Amount":      "REAL",
	"Description": "TEXT",
	"Category":    "TEXT",
}

TableSchema is the schema for the ledger table

Functions

This section is empty.

Types

type Row

type Row struct {
	ID          int64       `db:"id"`
	Date        string      `db:"Date"`
	Amount      float64     `db:"Amount"`
	Description string      `db:"Description"`
	Category    interface{} `db:"Category"`
}

Row is a ledger entry

func (*Row) String

func (r *Row) String() (s string)

Jump to

Keyboard shortcuts

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