Curriculum Errors & packaging Modules & go.mod exercise 5 · mcq
Modules & go.mod
Pick the line that goes inside a require ( ... ) block in
go.mod for the github.com/google/uuid dependency at
version v1.6.0.
TypeScript: "uuid": "^9.0.0" in package.json dependencies.
Go's shape is space-separated <path> <version>, with
semver prefixed by v.
TypeScript reference
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.