Documentation ¶
Index ¶
- func Decode(in map[string]any, out any) error
- func Float32(v float32) *float32
- func Float32Value(v *float32) float32
- func Float64(v float64) *float64
- func Float64Value(v *float64) float64
- func Int(v int) *int
- func IntValue(v *int) int
- func PatchMap(original map[string]interface{}, patch map[string]interface{}, ...) map[string]interface{}
- func String(v string) *string
- func StringValue(v *string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Value ¶
Float32Value returns the value of the float32 pointer passed in or an empty float32 if the pointer is nil.
func Float64Value ¶
Float64Value returns the value of the float64 pointer passed in or an empty float64 if the pointer is nil.
func IntValue ¶ added in v0.2.6
IntValue returns the value of the int pointer passed in or 0 if the pointer is nil.
func StringValue ¶
StringValue returns the value of the string pointer passed in or an empty string if the pointer is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.