Curriculum Errors & packaging Modules & go.mod
Modules & go.mod
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.
9 ready
01
pick oneA Go module is a versioned collection of packages —
02
pick one Go module paths look like URLs (github.com/user/repo,
03
pick onePick the command that adds a third-party package as a
04
pick one Pick the line that's the FIRST line of a typical go.mod
05
pick one Pick the line that goes inside a require ( ... ) block in
06
fill blanks Type the directive keyword that goes first in go.mod,
07
fill blanksType the keyword that introduces a dependency block in
08
type one line A go.mod declares the module's identity + dependencies;
09
write a programTheme 5.5 capstone + Module 5 capstone — build a small