Documentation
¶
Overview ¶
Command generate renders go/policy_iana.go from the IANA registry snapshots mirrored under go/testdata/iana — a checked-in copy of the repo-root script/iana snapshots the Ruby implementation also generates from (the two mirrors are kept identical by a drift test), so the module generates self-contained while the policy source of truth stays shared.
Run from the go/ module directory (go generate does this):
go run ./generate # rewrite policy_iana.go go run ./generate -check # fail if policy_iana.go is stale (CI)
Click to show internal directories.
Click to hide internal directories.