Documentation
¶
Overview ¶
Package internal provides shared marshal/unmarshal helpers for opt and opt/zero packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalFloatJSON ¶
UnmarshalFloatJSON parses JSON data as a float64, accepting both numbers and strings. Returns (value, valid, error). Empty strings return (0, false, nil).
func UnmarshalFloatText ¶
UnmarshalFloatText parses text as a float64. Returns (value, valid, error). Empty and "null" strings return (0, false, nil).
func UnmarshalIntJSON ¶
UnmarshalIntJSON parses JSON data as an integer, accepting both numbers and strings. Returns (value, valid, error). Empty strings return (0, false, nil).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.