Commit Graph

10 Commits

Author SHA1 Message Date
David Bartley 4f2c5582d1 Pass by value in `MarshalXML`. 2024-04-10 09:12:15 -04:00
John Starich 8ad638c7e2 Rename ofxgo_test package to ofxgo and remove self-imports/references
* Fix package in generate_constants.py
* Update generate_constants.py to use the new imports
2020-04-03 08:38:41 -04:00
Aaron Lindsay 1e55cb8bd7 Switch to copy of encoding/xml with only that subdirectory 2017-10-02 09:21:56 -04:00
Aaron Lindsay 0eba6741f2 Make the OFX spec version an 'enum' 2017-04-17 10:54:20 -04:00
Aaron Lindsay c6ef8be074 Add comments for generated constants 2017-04-12 06:02:50 -04:00
Aaron Lindsay a05882fcda Add a few more comments 2017-04-11 06:08:40 -04:00
Aaron Lindsay 8f1cf63bd3 constants: Improve testing, eliminate redundant check when marshalling 2017-04-08 08:40:46 -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