~mendelmaleh/pfin

ref: f6dbf20b284e5c6ead9b8ff5047db6d6b2dd7d2d pfin/parser/personal/types.go -rw-r--r-- 392 bytes
f6dbf20bMendel E Add initial readme a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package personal

import "git.sr.ht/~mendelmaleh/pfin/parser/util"

type Transaction struct {
	Fields // computed fields
	Raw    // csv fields
}

type Fields struct {
	User    string
	Account string
}

type Raw struct {
	Date        util.DateISO `csv:"date    "`
	Amount      float64      `csv:"amount"`
	Media       string       `csv:"media"`
	Description string       `csv:"description"`
}