Add single-source loading and version checks

This commit is contained in:
2026-09-06 20:03:22 +00:00
parent 21e3f633bc
commit cc41653bfd
13 changed files with 1022 additions and 38 deletions

13
doc.go
View File

@@ -1,8 +1,9 @@
// Package configkit provides foundational types for deterministic,
// application-owned configuration loading in Go programs.
// Package configkit provides deterministic, application-owned configuration
// loading for Go programs.
//
// Semantic paths, opaque source constructors, metadata and provenance records, safe
// diagnostics, and structured load errors are available. YAML input is validated
// behind a private parser boundary according to docs/config.md. Typed decoding,
// composition, and loading operations are not available yet.
// Load currently supports one file, byte, reader, or explicit no-input source with
// strict YAML, typed defaults, schema-version checks, detached metadata, safe
// diagnostics, and structured load errors. Composition, profiles, application
// resolution and validation, overrides, secrets, and effective rendering are not
// available yet. The configuration contract is documented in docs/config.md.
package configkit