package
Version:
v2.0.5
Opens a new window with list of versions in this module.
Published: Jan 19, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BindValue binds a string value to a reflect.Value.
Example:
var x int
err := resolver.BindValue(reflect.ValueOf(&x).Elem(), "42")
GetValue returns the value to bind based on priority: CLI > Env > Default.
Example:
val, err := resolver.GetValue(nil, "ENV_VAR", "default", false)
ParseBool parses a boolean string with support for more formats.
Example:
b, err := resolver.ParseBool("yes")
Source Files
¶
Click to show internal directories.
Click to hide internal directories.