This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
ledger-tui/pkg/ledger/ledger.go
Tony Grosinger 461812eace Initial commit
Description, date, and total fields are functional. Next step is to
start adding structure to the form and adding a window to the side which
will show previous similar transactions and autocomplete suggestions.
Arrow keys will be able to auto-fill the current field from the selected
suggestion.
2022-08-04 08:39:37 -07:00

9 lines
208 B
Go

package ledger
import "github.com/tgrosinger/ledger-tui/pkg/transaction"
type Ledger interface {
GetTransactions() ([]transaction.Transaction, error)
AddTransaction(newTx transaction.Transaction) error
}