Restore public API reference documentation

This commit is contained in:
2026-09-12 17:24:44 +00:00
parent 6102b36adf
commit c98435ce8e
5 changed files with 32 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ type Secret struct {
}
// SecretEnv constructs an unresolved environment-backed secret reference.
// Invalid names are reported if the reference survives a configuration load.
func SecretEnv(name string) Secret { return Secret{name: name, specified: true} }
// EnvName returns the public environment-variable name.