wiki/packages.go.org
2022-07-29 15:41:17 +00: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