Hi All,Remote package imports are *awesome*, but I was hoping that there would be a "go build/run" flag to automatically "go get" all missing remote packages.Otherwise, it seems I need some sort of initialization tool (Makefile) or at least documented install steps in a README.I haven't been able to find such an option -- is it supported?Thanks!-Michal--
Remote package imports are *awesome*, but I was hoping that there would be a "go build/run" flag to automatically "go get" all missing remote packages.Otherwise, it seems I need some sort of initialization tool (Makefile) or at least documented install steps in a README.
An import path can describe how to obtain the package source code using a revision control system such as Git or Mercurial. Thegocommand uses this property to automatically fetch packages from remote repositories. For instance, the examples described in this document are also kept in a Mercurial repository hosted at Google Code,code.google.com/p/go.example. If you include the repository URL in the package's import path,go getwill fetch, build, and install it automatically:
--
The following command line will fetch all missing remote packages (as well as build them) for any package in GOROOT or GOPATH.$ go get ...