diff --git a/new.go b/new.go index da328e5..b4ed4ca 100644 --- a/new.go +++ b/new.go @@ -56,7 +56,7 @@ func createApp(cmd *Command, args []string) { wgopath := path.SplitList(gopath) for _, wg := range wgopath { - wg = path.Join(wg, "src") + wg, _ = path.EvalSymlinks(path.Join(wg, "src")) if strings.HasPrefix(strings.ToLower(curpath), strings.ToLower(wg)) { haspath = true