1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-07 01:30:18 +00:00

make staticcheck happy

This commit is contained in:
JessonChan
2019-01-22 19:09:57 +08:00
parent e65a9cbc00
commit 0d54bbff02
9 changed files with 25 additions and 40 deletions

View File

@ -172,7 +172,7 @@ func GetConfig(returnType, key string, defaultVal interface{}) (value interface{
case "DIY":
value, err = AppConfig.DIY(key)
default:
err = errors.New("Config keys must be of type String, Bool, Int, Int64, Float, or DIY")
err = errors.New("config keys must be of type String, Bool, Int, Int64, Float, or DIY")
}
if err != nil {