15 lines
217 B
Go
15 lines
217 B
Go
package core
|
|
|
|
import ()
|
|
|
|
type Ledger struct {
|
|
entryStore EntryStore
|
|
referenceStore ReferenceStore
|
|
}
|
|
|
|
func NewLedger(entryStore EntryStore) (*Ledger, error) {
|
|
return &Ledger{
|
|
entryStore: entryStore,
|
|
}, nil
|
|
}
|