1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-06-14 13:58:37 -04:00

Switch Date to contain time.Time instead of being a typedef

This commit is contained in:
2017-04-04 05:45:19 -04:00
parent 7f5ef5751d
commit 1560f44a3c
10 changed files with 151 additions and 167 deletions

View File

@ -144,7 +144,7 @@ func tryProfile(appId, appVer, version string, noindent bool) bool {
profileRequest := ofxgo.ProfileRequest{
TrnUID: *uid,
DtProfUp: ofxgo.Date(time.Unix(0, 0)),
DtProfUp: ofxgo.Date{Time: time.Unix(0, 0)},
}
query.Prof = append(query.Prof, &profileRequest)

View File

@ -31,7 +31,7 @@ func getAccounts() {
acctInfo := ofxgo.AcctInfoRequest{
TrnUID: *uid,
DtAcctUp: ofxgo.Date(time.Unix(0, 0)),
DtAcctUp: ofxgo.Date{Time: time.Unix(0, 0)},
}
query.Signup = append(query.Signup, &acctInfo)