1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-07-01 03:38:38 -04:00

Add BasicClient, update Client to be interface

This paves the way for more easily implementing different clients for
different financial institutions
This commit is contained in:
2018-10-02 20:55:25 -04:00
parent 88e5521348
commit 94a77ac754
11 changed files with 45 additions and 31 deletions

View File

@ -42,7 +42,7 @@ func TestMarshalBankStatementRequest(t *testing.T) {
</BANKMSGSRQV1>
</OFX>`
var client = ofxgo.Client{
var client = ofxgo.BasicClient{
AppID: "OFXGO",
AppVer: "0001",
SpecVersion: ofxgo.OfxVersion203,
@ -116,7 +116,7 @@ NEWFILEUID:NONE
</BANKMSGSRQV1>
</OFX>`
var client = ofxgo.Client{
var client = ofxgo.BasicClient{
AppID: "OFXGO",
AppVer: "0001",
SpecVersion: ofxgo.OfxVersion103,