9 lines
208 B
Go
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
|
||
|
}
|