Curriculum Errors & packaging Modules & go.mod exercise 7 · fill-word
Modules & go.mod
Type the keyword that introduces a dependency block in
go.mod. The block lists <path> <version> pairs for each
third-party module the project depends on.
TypeScript reference
Fill the blanks →
About this theme
A module is a versioned collection of packages — your project's unit of dependency. go mod init github.com/you/yourthing produces go.mod. go get adds deps. Module paths look like URLs but don't have to resolve to anything; they're identifiers.