1
0
mirror of https://github.com/beego/bee.git synced 2024-12-22 10:00:50 +00:00

Fix staticcheck failed - error strings should not be capitalized (ST1005)

This commit is contained in:
Tavee Khunbida 2019-01-08 01:04:40 +07:00
parent d24c05d83e
commit f2696160ae

View File

@ -32,7 +32,7 @@ import (
"strings"
"unicode"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/astaxie/beego/swagger"
"github.com/astaxie/beego/utils"
@ -124,7 +124,7 @@ func ParsePackagesFromDir(dirpath string) {
err = parsePackageFromDir(fpath)
if err != nil {
// Send the error to through the channel and continue walking
c <- fmt.Errorf("Error while parsing directory: %s", err.Error())
c <- fmt.Errorf("error while parsing directory: %s", err.Error())
return nil
}
}