The go maps used to translate Content-Formats to Media Types (and vice-versa) are automatically generated from the IANA CoRE Parameters registry.
The automatic extraction depends on zek(1)
, which can be installed via:
go install github.com/miku/zek/cmd/zek@latest
To rebuild the go maps (../cfmap.go
), do:
make all clean