modutil

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

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) (*vcs.RepoRoot, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL