Documentation
¶
Overview ¶
Command gen-cldr compiles unicode-org/cldr-json into Go literal source under internal/cldr/. Run from any working directory; the generator resolves paths relative to the -out flag.
See SPECS/50-cldr-data.md and tools/gen-cldr/README.md for the full upgrade flow (task data / task data:check).
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cldr ingests the unicode-org/cldr-json npm distribution into typed Go structs for the generator extract layer to consume.
|
Package cldr ingests the unicode-org/cldr-json npm distribution into typed Go structs for the generator extract layer to consume. |
|
Package codegen renders generated Go source for internal/cldr/.
|
Package codegen renders generated Go source for internal/cldr/. |
|
Package extract turns parsed cldr-json into compact intermediate data for codegen.
|
Package extract turns parsed cldr-json into compact intermediate data for codegen. |
|
Package tzdb loads the pinned IANA tzdb source used to generate ECMA-402 time-zone identifier records.
|
Package tzdb loads the pinned IANA tzdb source used to generate ECMA-402 time-zone identifier records. |
Click to show internal directories.
Click to hide internal directories.