Commit Graph

5 Commits

Author SHA1 Message Date
Aaron Lindsay 8f1cf63bd3 constants: Improve testing, eliminate redundant check when marshalling 2017-04-08 08:40:46 -04:00
Aaron Lindsay ac5a0dce1d Add tests for auto-generated constants 2017-04-07 22:34:54 -04:00
Aaron Lindsay 3009f9255c constants.go: Make Valid() return false after failing FromString() 2017-04-06 19:55:59 -04:00
Aaron Lindsay 85406e7eb8 Fix MfType values
"OPEN" and "END" had an accidental space between them before in the
comment the original list was based upon
2017-04-06 19:18:09 -04:00
Aaron Lindsay 4521bb377a Use named constants instead of strings for enum-like OFX fields
This adds a python script to generate constants.go when `go generate` is
called, and updates the structs, tests, and command-line client to all
use the new named constants.
2017-04-06 09:06:41 -04:00