gen-cldr

command module
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL