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

cmd/ofx: golint

This commit is contained in:
2017-04-16 20:50:06 -04:00
parent 33c7ad463c
commit 94f49640b4
11 changed files with 23 additions and 25 deletions

View File

@ -7,7 +7,7 @@ import (
"os"
)
var invTransactionsCommand = Command{
var invTransactionsCommand = command{
Name: "transactions-inv",
Description: "Print investment transactions",
Flags: flag.NewFlagSet("transactions-inv", flag.ExitOnError),
@ -22,7 +22,7 @@ func init() {
}
func invTransactions() {
client, query := NewRequest()
client, query := newRequest()
uid, err := ofxgo.RandomUID()
if err != nil {
@ -47,8 +47,6 @@ func invTransactions() {
response, err := client.Request(query)
if err != nil {
fmt.Println("Error requesting account statement:", err)
os.Exit(1)
}