1
0
镜像自地址 https://github.com/beego/bee.git 已同步 2025-07-02 03:20:19 +00:00
这个提交包含在:
astaxie
2017-04-24 21:00:39 +08:00
父节点 6afbafa250
当前提交 ffbe29ae22

查看文件

@ -60,9 +60,6 @@ func GetGOPATHs() []string {
// IsInGOPATH checks whether the path is inside of any GOPATH or not
func IsInGOPATH(thePath string) bool {
if runtime.GOOS == "windows" {
thePath = filepath.ToSlash(thePath)
}
for _, gopath := range GetGOPATHs() {
if strings.Contains(thePath, filepath.Join(gopath, "src")) {
return true