wiki/notebook/packages.go.org
Gabriel Arazas 549f476c4c Update the notebook
The topics I've covered so far for Linux, package managers, archiving,
and learning.

I also updated some formatting for other notes especially with the
command line references.
2021-07-29 23:26:51 +08:00

734 B

Go packages

  • reference page
  • names are traditionally URL-like (e.g., github.com/gohugoio/hugo, github.com/errata-ai/vale) similar to roam:Deno packages
  • has to be explicitly set with the go.mod file (i.e., module MODULE_NAME)
  • go.sum functions similarly to lockfiles containing cryptographic hashes of the modules used for a successful build
  • Go modules can be vendored (e.g., go mod vendor); it will be stored in the vendor/ directory of the root module

    • example of a project using vendored Go modules is Vale v2.5.0