Go licencing
Read ../licencing.md before this file. This file only adds Go and Go-adjacent metadata notes.
- Go source files are meaningful source code unless they are generated examples or samples; use the project license convention from the generic licencing file.
go.modhas no license field. Do not treat module metadata as a substitute for REUSE coverage or license files.- When generating nFPM or other package metadata for Go binaries, set the package
licensefield to the chosen SPDX expression orLicenseRef-*value. - When bundling assets for Go web or Wails apps, include their license metadata in the REUSE model before packaging them.
- Generated Go files still need a licensing decision. Prefer REUSE annotations or
sidecar
.licensefiles when editing generated content would be fragile.
Run reuse lint after changing licenses, license texts, annotations, vendored
content, generated-file coverage, or package asset coverage.