Fix: remove unused code according to golangci-lint

This commit is contained in:
loyalsoldier
2021-05-18 23:30:49 +08:00
parent 7b99c324be
commit c6813f0d24
4 changed files with 3 additions and 30 deletions

View File

@@ -12,14 +12,6 @@ import (
"github.com/beego/beego/v2/adapter/cache"
)
const (
initError = "init err"
setError = "set Error"
checkError = "check err"
getError = "get err"
getMultiError = "GetMulti Error"
)
func TestSsdbcacheCache(t *testing.T) {
ssdbAddr := os.Getenv("SSDB_ADDR")
if ssdbAddr == "" {