command module
Version: v0.1.0 Latest Latest

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

Go to latest
Published: Jan 28, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0


gomod-pack GoDoc



Command gomod-pack will pre-fill the Go module cache with the current module at the specified version (default to master) and will print the actual versioned module path so that it can be used in a go.mod require directive.

Internally, gomod-pack invokes go mod download with a custom environment, where git is configured to resolve the remote module path to the local module root directory and cmd/go is configured to use a direct connection with the checksum database disabled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL