mirror of
https://github.com/golang/go
synced 2024-11-18 12:54:44 -07:00
62 lines
949 B
Markdown
62 lines
949 B
Markdown
|
<!--{
|
||
|
"Title": "Go Modules Reference",
|
||
|
"Subtitle": "Version of Sep 4, 2019",
|
||
|
"Path": "/ref/modules"
|
||
|
}-->
|
||
|
<!-- TODO(jayconrod): ensure golang.org/x/website can render Markdown or convert
|
||
|
this document to HTML before Go 1.14. -->
|
||
|
<!-- TODO(jayconrod): ensure Markdown renderer adds anchors or add them
|
||
|
manually. -->
|
||
|
|
||
|
## Introduction
|
||
|
|
||
|
## Glossary
|
||
|
|
||
|
## Packages, modules, and versions
|
||
|
|
||
|
## go.mod files
|
||
|
|
||
|
### go.mod file format
|
||
|
|
||
|
### Minimal version selection (MVS)
|
||
|
|
||
|
### Compatibility with non-module repositories
|
||
|
|
||
|
## Module-aware build commands
|
||
|
|
||
|
### Enabling modules
|
||
|
|
||
|
### Initializing modules
|
||
|
|
||
|
### Build commands
|
||
|
|
||
|
### Vendoring
|
||
|
|
||
|
### `go mod download`
|
||
|
|
||
|
### `go mod verify`
|
||
|
|
||
|
### `go mod edit`
|
||
|
|
||
|
### `go clean -modcache`
|
||
|
|
||
|
### Module commands outside a module
|
||
|
|
||
|
## Retrieving modules
|
||
|
|
||
|
### GOPROXY protocol
|
||
|
|
||
|
### Module zip requirements
|
||
|
|
||
|
### Privacy
|
||
|
|
||
|
### Private modules
|
||
|
|
||
|
## Authenticating modules
|
||
|
|
||
|
### go.sum file format
|
||
|
|
||
|
### Checksum database
|
||
|
|
||
|
### Privacy
|