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:
@@ -138,7 +138,7 @@ func insertSQLite(ctx context.Context, tx *sql.Tx, in []Details) (err error) {
|
||||
if errUUID != nil {
|
||||
return errUUID
|
||||
}
|
||||
var tempInsert = modelSQLite.Exchange{
|
||||
tempInsert := modelSQLite.Exchange{
|
||||
Name: strings.ToLower(in[x].Name),
|
||||
ID: tempUUID.String(),
|
||||
}
|
||||
@@ -158,7 +158,7 @@ func insertSQLite(ctx context.Context, tx *sql.Tx, in []Details) (err error) {
|
||||
|
||||
func insertPostgresql(ctx context.Context, tx *sql.Tx, in []Details) (err error) {
|
||||
for x := range in {
|
||||
var tempInsert = modelPSQL.Exchange{
|
||||
tempInsert := modelPSQL.Exchange{
|
||||
Name: strings.ToLower(in[x].Name),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user