mirror of
https://github.com/beego/bee.git
synced 2025-05-23 05:23:26 +00:00
go1.4源码目录变更
This commit is contained in:
parent
e147e3b132
commit
5e39150996
@ -333,6 +333,13 @@ func isSystemPackage(pkgpath string) bool {
|
||||
if utils.FileExists(wg) {
|
||||
return true
|
||||
}
|
||||
|
||||
//TODO(zh):support go1.4
|
||||
wg, _ = filepath.EvalSymlinks(filepath.Join(goroot, "src", pkgpath))
|
||||
if utils.FileExists(wg) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user