Versions in this module Expand all Collapse all v0 v0.0.0 May 12, 2023 Changes in this version + const TableAppMeta + const TableDebtEvent + const TableEarnEvent + const TableEarnItem + const TableEarnSource + const TableExchangeEvent + const TableLender + const TableLostEvent + const TableNote + const TablePayEvent + const TablePayItem + const TablePlace + const TableStorage + const TableStorageChange + const TableStorageMonthlyChange + const TableStorageYearlyChange + const TableTag + func Bug(f string, args ...any) error + func CloseDB() + func InitDB() (err error) + func LoadDB() (err error) + func MakeNewDB() (err error) + func SetLogger(newLogger Logger) + type AppMeta struct + Data string + Id string + type DB struct + type DebtEvent struct + Id uint64 + LenderId uint32 + NoteId uint32 + Summary string + type EarnEvent struct + Id uint64 + ItemCount uint16 + NoteId uint32 + SourceId uint32 + Summary string + type EarnItem struct + Id uint64 + Name string + NoteId uint32 + Tags []byte + Value uint64 + type EarnSource struct + Id uint32 + Name string + NoteId uint32 + type ExchangeEvent struct + Id uint64 + NoteId uint32 + Summary string + type Lender struct + Id uint32 + Name string + NoteId uint32 + type Logger interface + D func(args ...any) + E func(src any, args ...any) + I func(args ...any) + type LostEvent struct + Id uint64 + NoteId uint32 + Summary string + type Note struct + Id uint32 + Text string + type PayEvent struct + Id uint64 + ItemCount uint16 + NoteId uint32 + PlaceId uint32 + Summary string + type PayItem struct + Id uint64 + Name string + NoteId uint32 + Tags []byte + Tax uint8 + Value uint64 + type Place struct + Id uint32 + Name string + NoteId uint32 + type Storage struct + Id uint32 + Name string + NoteId uint32 + type StorageChange struct + Decrease uint64 + Id uint64 + Increase uint64 + StorageId uint32 + type StorageMonthlyChange struct + Decrease uint64 + Id uint64 + Increase uint64 + StorageId uint32 + type StorageYearlyChange struct + Decrease uint64 + Id uint64 + Increase uint64 + StorageId uint32 + type Tag struct + Id uint32 + Name string + NoteId uint32