Hi, i m looking for the right way to load and parse an ast.ImportSpec referenced into an ast.File object.
Its mostly about the path resolution, I can t find a method like parse(baseDir string, pkgPath string)... where baseDir (is not necessarily the same as the ast.File path, in my understanding) would be the directory which may contain the vendor folder, and pkgPath something like `go/ast`. Or maybe its ok to just test that the directory exists at, - baseDir / vendor / pkgPath - goroot / src / pkgPath ? Seems to me its a bit more complex than that. thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.