dates can be strings i dont care
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package ledger
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type Currency string
|
||||
|
||||
const (
|
||||
@@ -11,14 +7,14 @@ const (
|
||||
)
|
||||
|
||||
type Delta struct {
|
||||
Date time.Time
|
||||
Date string
|
||||
Account string
|
||||
Value float64
|
||||
Currency Currency
|
||||
Description string
|
||||
}
|
||||
|
||||
func newDelta(d time.Time, desc, acc string, v float64, c string) Delta {
|
||||
func newDelta(d, desc, acc string, v float64, c string) Delta {
|
||||
return Delta{
|
||||
Date: d,
|
||||
Account: acc,
|
||||
|
||||
Reference in New Issue
Block a user