Directories
¶
| Path | Synopsis |
|---|---|
|
Package buildinfo carries a program's identity and version as a single value that renders across text, JSON, and YAML, so every binary of a multi-face tool reports itself the same way.
|
Package buildinfo carries a program's identity and version as a single value that renders across text, JSON, and YAML, so every binary of a multi-face tool reports itself the same way. |
|
Package config provides lightweight configuration loading from environment variables with validation support.
|
Package config provides lightweight configuration loading from environment variables with validation support. |
|
Package errs provides structured error categorization with code-based classification, compatible with the standard library's errors.Is/errors.As.
|
Package errs provides structured error categorization with code-based classification, compatible with the standard library's errors.Is/errors.As. |
|
Package render writes a value to an io.Writer in a selected output format (text, JSON, or YAML).
|
Package render writes a value to an io.Writer in a selected output format (text, JSON, or YAML). |
|
Package schema validates a YAML or JSON document against a JSON Schema and, only if it is valid, unmarshals it into a Go value.
|
Package schema validates a YAML or JSON document against a JSON Schema and, only if it is valid, unmarshals it into a Go value. |
|
Package xdg resolves per-user base directories — data, state, and config — mapping the XDG Base Directory Specification on Unix to the equivalent native locations on Windows (%LocalAppData% / %AppData%).
|
Package xdg resolves per-user base directories — data, state, and config — mapping the XDG Base Directory Specification on Unix to the equivalent native locations on Windows (%LocalAppData% / %AppData%). |
Click to show internal directories.
Click to hide internal directories.