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

@ -8,7 +8,7 @@ import (
"time"
)
var detectSettingsCommand = Command{
var detectSettingsCommand = command{
Name: "detect-settings",
Description: "Attempt to guess client settings needed for a particular financial institution",
Flags: flag.NewFlagSet("detect-settings", flag.ExitOnError),
@ -104,7 +104,7 @@ func detectSettings() {
fmt.Printf("noindent: %t\n", noIndent)
os.Exit(0)
} else {
attempts += 1
attempts++
var noIndentString string
if noIndent {
noIndentString = " noindent"