Documentation ¶ Index ¶ func Download(ctx context.Context, m *Module) func RepoRootForImportPath(importPath string) (string, error) type Module func Get(ctx context.Context, path string, version string, verbose bool) *Module Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Download ¶ func Download(ctx context.Context, m *Module) Download Module func RepoRootForImportPath ¶ func RepoRootForImportPath(importPath string) (string, error) Types ¶ type Module ¶ type Module struct { Path string Version string Error string Dir string Sum string } func Get ¶ func Get(ctx context.Context, path string, version string, verbose bool) *Module Get Module Source Files ¶ View all Source files util.go Click to show internal directories. Click to hide internal directories.