1# Go licencing
2
3Read [../licencing.md](../licencing.md) before this file. This file only adds Go
4and Go-adjacent metadata notes.
5
6- Go source files are meaningful source code unless they are generated examples
7 or samples; use the project license convention from the generic licencing file.
8- `go.mod` has no license field. Do not treat module metadata as a substitute for
9 REUSE coverage or license files.
10- When generating nFPM or other package metadata for Go binaries, set the package
11 `license` field to the chosen SPDX expression or `LicenseRef-*` value.
12- When bundling assets for Go web or Wails apps, include their license metadata in
13 the REUSE model before packaging them.
14- Generated Go files still need a licensing decision. Prefer REUSE annotations or
15 sidecar `.license` files when editing generated content would be fragile.
16
17Run `reuse lint` after changing licenses, license texts, annotations, vendored
18content, generated-file coverage, or package asset coverage.