modutil

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 8 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) (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

Jump to

Keyboard shortcuts

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