Documentation ¶
Overview ¶
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.
Click to show internal directories.
Click to hide internal directories.