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

@@ -58,7 +58,6 @@ func (s *Storage) setBuntDB(key string, count int64) {
}
return nil
})
if err != nil {
log.Println("BuntDB update error:", err.Error())
}
@@ -70,7 +69,6 @@ func (s *Storage) getBuntDB(key string, count *int64) {
*count, _ = strconv.ParseInt(val, 10, 64)
return nil
})
if err != nil {
log.Println("BuntDB get error:", err.Error())
}