3 ms·
'npm' is covered by the Go tools themselves. You can import packages using their github/bitbucket/code.google.com URL.
by paufernandez 14y ago
'npm' is covered by the Go tools themselves. You can import packages using their github/bitbucket/code.google.com URL.
- chc 14y agoThat is really interesting. Thanks for pointing that out. Can you specify specific version dependencies like you do with a full-blown package manager?
- paufernandez 14y agoI don't think so, but I could be mistaken. (btw, someone pointed that out as a drawback on another thread.) What I've done sometimes is just clone the repo within a directory that appears in the GOPATH, maybe checkout a specific revision, and that solves the problem.
- BarkMore 14y agoAfter 'go get'ing the package, you can use git/hg/bzr to checkout the specific version you want. From there, all of the Go build tools will work as normal.
- deleted 14y ago[deleted]