From 1e55cb8bd7b9d41652cdce4c388f997356951f4f Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Mon, 2 Oct 2017 09:21:56 -0400 Subject: [PATCH] Switch to copy of encoding/xml with only that subdirectory --- bank.go | 2 +- common.go | 2 +- constants.go | 2 +- constants_test.go | 2 +- creditcard.go | 2 +- generate_constants.py | 4 ++-- invstmt.go | 2 +- invstmt_test.go | 2 +- profile.go | 2 +- request.go | 2 +- response.go | 2 +- response_test.go | 2 +- seclist.go | 2 +- signon.go | 2 +- signup.go | 2 +- types.go | 2 +- types_test.go | 2 +- util.go | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-) diff --git a/bank.go b/bank.go index 32836a1..05cab71 100644 --- a/bank.go +++ b/bank.go @@ -2,7 +2,7 @@ package ofxgo import ( "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // StatementRequest represents a request for a bank statement. It is used to diff --git a/common.go b/common.go index f98d64b..786fe2c 100644 --- a/common.go +++ b/common.go @@ -4,7 +4,7 @@ package ofxgo import ( "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // Message represents an OFX message in a message set. it is used to ease diff --git a/constants.go b/constants.go index ae6915f..302e372 100644 --- a/constants.go +++ b/constants.go @@ -9,7 +9,7 @@ package ofxgo import ( "errors" "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "strings" ) diff --git a/constants_test.go b/constants_test.go index 71f962a..9b5fd10 100644 --- a/constants_test.go +++ b/constants_test.go @@ -7,7 +7,7 @@ package ofxgo_test */ import ( - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "github.com/aclindsa/ofxgo" "strings" "testing" diff --git a/creditcard.go b/creditcard.go index d0529a1..365b2eb 100644 --- a/creditcard.go +++ b/creditcard.go @@ -1,7 +1,7 @@ package ofxgo import ( - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // CCStatementRequest represents a request for a credit card statement. It is diff --git a/generate_constants.py b/generate_constants.py index 9cfe314..7bdae9b 100755 --- a/generate_constants.py +++ b/generate_constants.py @@ -65,7 +65,7 @@ header = """package ofxgo import ( "errors" "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "strings" ) """ @@ -173,7 +173,7 @@ test_header = """package ofxgo_test */ import ( - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "github.com/aclindsa/ofxgo" "strings" "testing" diff --git a/invstmt.go b/invstmt.go index 9265947..3adeee6 100644 --- a/invstmt.go +++ b/invstmt.go @@ -2,7 +2,7 @@ package ofxgo import ( "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // InvStatementRequest allows a customer to request transactions, positions, diff --git a/invstmt_test.go b/invstmt_test.go index 0b58e9a..58642f6 100644 --- a/invstmt_test.go +++ b/invstmt_test.go @@ -1,7 +1,7 @@ package ofxgo_test import ( - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "github.com/aclindsa/ofxgo" "reflect" "strings" diff --git a/profile.go b/profile.go index 6713a0b..c28cc8a 100644 --- a/profile.go +++ b/profile.go @@ -2,7 +2,7 @@ package ofxgo import ( "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // ProfileRequest represents a request for a server to provide a profile of its diff --git a/request.go b/request.go index db26f51..750288e 100644 --- a/request.go +++ b/request.go @@ -4,7 +4,7 @@ import ( "bytes" "errors" "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "time" ) diff --git a/response.go b/response.go index 5c909ca..c87d756 100644 --- a/response.go +++ b/response.go @@ -4,7 +4,7 @@ import ( "bufio" "bytes" "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "io" "reflect" "strings" diff --git a/response_test.go b/response_test.go index 07c0e6e..c56dbe8 100644 --- a/response_test.go +++ b/response_test.go @@ -2,7 +2,7 @@ package ofxgo_test import ( "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "github.com/aclindsa/ofxgo" "os" "path/filepath" diff --git a/seclist.go b/seclist.go index c49eb44..8c60582 100644 --- a/seclist.go +++ b/seclist.go @@ -2,7 +2,7 @@ package ofxgo import ( "errors" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // SecurityID identifies a security by its CUSIP (for US-based FI's, others may diff --git a/signon.go b/signon.go index a885b67..f88c52e 100644 --- a/signon.go +++ b/signon.go @@ -3,7 +3,7 @@ package ofxgo import ( "errors" "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // SignonRequest identifies and authenticates a user to their FI and is diff --git a/signup.go b/signup.go index c797cb6..74feda2 100644 --- a/signup.go +++ b/signup.go @@ -2,7 +2,7 @@ package ofxgo import ( "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // AcctInfoRequest represents a request for the server to provide information diff --git a/types.go b/types.go index ab2dd7f..3004091 100644 --- a/types.go +++ b/types.go @@ -4,7 +4,7 @@ import ( "crypto/rand" "errors" "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "golang.org/x/text/currency" "math/big" "regexp" diff --git a/types_test.go b/types_test.go index b7d0a50..1162687 100644 --- a/types_test.go +++ b/types_test.go @@ -2,7 +2,7 @@ package ofxgo_test import ( "fmt" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" "github.com/aclindsa/ofxgo" "reflect" "testing" diff --git a/util.go b/util.go index 1537de2..6910912 100644 --- a/util.go +++ b/util.go @@ -2,7 +2,7 @@ package ofxgo import ( "bytes" - "github.com/aclindsa/go/src/encoding/xml" + "github.com/aclindsa/xml" ) // Returns the next available Token from the xml.Decoder that is not CharData