Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RootImport ¶ added in v0.0.2
RootImport returns root path of import. i.e. golang.org/x/net for golang.org/x/net/context
Types ¶
type VCS ¶
VCS represents package vcs root.
func Download ¶
Download downloads package by its import path. It can be a subpackage, whole repo will be downloaded anyway. if repoPath is not empty string, it will be uses for vcs. target is top directory for download. i.e. if target is vendor/ and importPath is github.com/LK4D4/vndr, package will be downloaded to vendor/github.com/LK4D4/vndr. rev is desired revision of package.
Directories ¶
Path | Synopsis |
---|---|
Package singleflight provides a duplicate function call suppression mechanism.
|
Package singleflight provides a duplicate function call suppression mechanism. |
Click to show internal directories.
Click to hide internal directories.