mirror of
https://github.com/astaxie/beego.git
synced 2025-07-11 06:21:00 +00:00
fix the go vet for go tip
This commit is contained in:
@ -319,7 +319,7 @@ func LoadAppConfig(adapterName, configPath string) error {
|
||||
}
|
||||
|
||||
if !utils.FileExists(absConfigPath) {
|
||||
return fmt.Errorf("the target config file: %s don't exist!", configPath)
|
||||
return fmt.Errorf("the target config file: %s don't exist", configPath)
|
||||
}
|
||||
|
||||
if absConfigPath == appConfigPath {
|
||||
|
Reference in New Issue
Block a user