1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-10-30 05:20:05 -04:00
Commit Graph

14 Commits

Author SHA1 Message Date
1ee7197340 Add validation of banking requests and responses 2017-04-18 19:46:23 -04:00
faac776ca4 Add Currency type 2017-04-17 20:11:53 -04:00
749c2e9f3a Add test for RandomUID 2017-04-08 10:55:11 -04:00
f794d452c4 Test for spaces after newlines when unmarshalling elements 2017-04-04 20:22:12 -04:00
6d8578c056 Add test for Amount.Equal() 2017-04-04 20:20:31 -04:00
061b31a99d Add test for Date.Equal() 2017-04-04 19:51:35 -04:00
1560f44a3c Switch Date to contain time.Time instead of being a typedef 2017-04-04 19:50:41 -04:00
7f5ef5751d Switch Amount to contain big.Rat instead of being a typedef 2017-04-03 21:15:08 -04:00
7834d53f9b Trim spaces when unmarshalling UIDs
This ensures the correct value is parsed when SGML tags aren't closed.
Also add a test.
2017-04-03 19:46:10 -04:00
5596cfbf8d Don't require UIDs to be 36 characters
The spec strongly recommends this, but doesn't strictly require it
2017-03-29 09:23:15 -04:00
31f33b66d7 go fmt 2017-03-27 20:14:18 -04:00
f2cea7c6d4 Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
81814feaff types: Be more lenient on Date, Int, and Amount parsing
Some of these types can have stray newlines in them, and Vanguard has a
very strange bug where they repeat the time portion of a DTSTART element
for a second time (we disregard the latter portion).
2017-03-19 20:46:01 -04:00
257495a343 Add testing for basic types, fix some bugs 2017-03-13 21:09:15 -04:00