1
0
mirror of https://github.com/beego/bee.git synced 2025-06-19 06:50:38 +00:00

Merge pull request from sergeylanzman/fix-swagger-generate-bug

Fix swagger generate bug
This commit is contained in:
astaxie
2016-12-13 05:03:20 +08:00
committed by GitHub

@ -95,7 +95,7 @@ func parsePackagesFromDir(dirpath string) {
return nil
}
if fileInfo.Name() != "vendor" {
if !strings.Contains(fpath, "vendor") {
err = parsePackageFromDir(fpath)
if err != nil {
// Send the error to through the channel and continue walking