mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-18 07:26:50 +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:
@@ -39,7 +39,7 @@ func Event(id, name, path string, data null.Bytes, executionType, status string,
|
||||
}
|
||||
return
|
||||
}
|
||||
var tempEvent = modelSQLite.Script{}
|
||||
tempEvent := modelSQLite.Script{}
|
||||
if !f {
|
||||
newUUID, errUUID := uuid.NewV4()
|
||||
if errUUID != nil {
|
||||
@@ -82,7 +82,7 @@ func Event(id, name, path string, data null.Bytes, executionType, status string,
|
||||
return
|
||||
}
|
||||
} else {
|
||||
var tempEvent = modelPSQL.Script{
|
||||
tempEvent := modelPSQL.Script{
|
||||
ScriptID: id,
|
||||
ScriptName: name,
|
||||
ScriptPath: path,
|
||||
|
||||
@@ -13,9 +13,7 @@ import (
|
||||
"github.com/volatiletech/null"
|
||||
)
|
||||
|
||||
var (
|
||||
verbose = false
|
||||
)
|
||||
var verbose = false
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user