
The highest tagged major version is
v2.
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Jan 26, 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
¶
Bind value converts a string to a reflect.Value based on its kind.
It supports basic types (string, int, uint, float, bool, duration) and slices of strings.
Example:
var x int
err := reflect.Bind(reflect.ValueOf(&x).Elem(), "42")
ParseBool parses a boolean string with support for more formats.
It accepts 1, t, true, yes, y, on as true.
It accepts 0, f, false, no, n, off as false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.