mirror of
https://github.com/beego/bee.git
synced 2024-11-22 05:00:54 +00:00
commit
f00aeaed36
@ -333,6 +333,13 @@ func isSystemPackage(pkgpath string) bool {
|
|||||||
if utils.FileExists(wg) {
|
if utils.FileExists(wg) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO(zh):support go1.4
|
||||||
|
wg, _ = filepath.EvalSymlinks(filepath.Join(goroot, "src", pkgpath))
|
||||||
|
if utils.FileExists(wg) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user