mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 15:10:49 +00:00
linter: Enable gofumpt and run against codebase (#1848)
* linter: Enable gofumpt and run against codebase * Address shazbert's nits * gofumpt: Fix issues after rebase
This commit is contained in:
@@ -13,9 +13,7 @@ import (
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
dbConn *database.Instance
|
||||
)
|
||||
var dbConn *database.Instance
|
||||
|
||||
func load(c *cli.Context) error {
|
||||
var conf config.Config
|
||||
|
||||
@@ -122,7 +122,6 @@ func addSingleExchange(c *cli.Context) error {
|
||||
err = exchangeDB.Insert(exchangeDB.Details{
|
||||
Name: exchangeName,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user