1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 20:13:50 +08:00

解决 lint 问题

This commit is contained in:
scjtqs 2021-03-16 22:01:07 +08:00
parent 2f536c42f8
commit 9c93ccb37b
3 changed files with 4 additions and 4 deletions

View File

@ -349,5 +349,5 @@ func GetCurrentPath() (string, error) {
if i < 0 {
return "", errors.New("system/path_error,Can't find '/' or '\\'")
}
return string(fpath[0 : i+1]), nil
return fpath[0 : i+1], nil
}

View File

@ -22,10 +22,10 @@ import (
"github.com/Mrs4s/MiraiGo/utils"
"github.com/gin-contrib/pprof"
"github.com/gin-gonic/gin"
"github.com/json-iterator/go"
jsoniter "github.com/json-iterator/go"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"github.com/yinghau76/go-ascii-art"
asciiart "github.com/yinghau76/go-ascii-art"
)
var json = jsoniter.ConfigCompatibleWithStandardLibrary