mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 07:26:48 +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:
@@ -29,14 +29,14 @@ func Event(id, msgtype, message string) {
|
||||
}
|
||||
|
||||
if repository.GetSQLDialect() == database.DBSQLite3 {
|
||||
var tempEvent = modelSQLite.AuditEvent{
|
||||
tempEvent := modelSQLite.AuditEvent{
|
||||
Type: msgtype,
|
||||
Identifier: id,
|
||||
Message: message,
|
||||
}
|
||||
err = tempEvent.Insert(ctx, tx, boil.Blacklist("created_at"))
|
||||
} else {
|
||||
var tempEvent = modelPSQL.AuditEvent{
|
||||
tempEvent := modelPSQL.AuditEvent{
|
||||
Type: msgtype,
|
||||
Identifier: id,
|
||||
Message: message,
|
||||
|
||||
Reference in New Issue
Block a user