mirror of
https://github.com/beego/bee.git
synced 2024-11-21 23:50:54 +00:00
go fmt
This commit is contained in:
parent
a117a48d7b
commit
65aec741fb
@ -362,11 +362,11 @@ func analyseControllerPkg(vendorPath, localName, pkgpath string) {
|
|||||||
pkgRealpath = wg
|
pkgRealpath = wg
|
||||||
} else {
|
} else {
|
||||||
wgopath := gopaths
|
wgopath := gopaths
|
||||||
for _, wg := range wgopath {
|
for _, wg := range wgopath {
|
||||||
wg, _ = filepath.EvalSymlinks(filepath.Join(wg, "src", pkgpath))
|
wg, _ = filepath.EvalSymlinks(filepath.Join(wg, "src", pkgpath))
|
||||||
if utils.FileExists(wg) {
|
if utils.FileExists(wg) {
|
||||||
pkgRealpath = wg
|
pkgRealpath = wg
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user