chore(style): fix format by gofumpt

This commit is contained in:
Bo-Yi Wu
2021-01-23 09:39:06 +08:00
parent d32ca7f015
commit d77e7fe4f2
19 changed files with 48 additions and 74 deletions

View File

@@ -68,7 +68,6 @@ func (s *Storage) setBadger(key string, count int64) {
value := convert.ToString(count).(string)
return txn.Set([]byte(key), []byte(value))
})
if err != nil {
log.Println(s.name, "update error:", err.Error())
}
@@ -95,7 +94,6 @@ func (s *Storage) getBadger(key string, count *int64) {
return nil
})
if err != nil {
log.Println(s.name, "get error:", err.Error())
}