1
0
zrcadlo https://github.com/beego/bee.git synchronizováno 2025-07-13 06:21:02 +00:00
Tento commit je obsažen v:
astaxie
2017-04-24 21:00:39 +08:00
rodič 6afbafa250
revize ffbe29ae22

Zobrazit soubor

@ -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