diff --git a/Makefile b/Makefile index cafe090..e0a77fd 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ init: git update --init fmt: - go fmt ./... + gofmt -s -w . vet: go vet ./... diff --git a/cmd/cmd_ticker.go b/cmd/cmd_ticker.go index 4256245..94a885c 100644 --- a/cmd/cmd_ticker.go +++ b/cmd/cmd_ticker.go @@ -19,7 +19,7 @@ var ( func tickerRun(cmd *cobra.Command, args []string) { tickers := utils.GetTickers() tstr := "" - for n, _ := range tickers { + for n := range tickers { tstr += " " + n } fmt.Fprintf(cmdOutput, "%s\n", tstr) diff --git a/test/integration/integration_test.go b/test/integration/integration_test.go index cae014b..a6942e6 100644 --- a/test/integration/integration_test.go +++ b/test/integration/integration_test.go @@ -19,4 +19,4 @@ func TestIntegrationExample(t *testing.T) { // - Assert the results. t.Log("Integration test finished successfully") -} \ No newline at end of file +}