From 2a92b29a62c76cf7f82561b742cd1246b86bd5cf Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Sat, 14 Apr 2018 22:28:30 -0700 Subject: [PATCH] currency := stmt.CurDef --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cf2c52..cdaf823 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ if stmt, ok := response.Bank[0].(*ofxgo.StatementResponse); ok { fmt.Printf("Balance: %s %s (as of %s)\n", stmt.BalAmt, stmt.CurDef, stmt.DtAsOf) fmt.Println("Transactions:") for _, tran := range stmt.BankTranList.Transactions { - var currency ofxgo.CurrSymbol + currency := stmt.CurDef if ok, _ := tran.Currency.Valid(); ok { currency = tran.Currency.CurSym }