Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatValue ¶
FormatValue returns a TOML-encoded scalar value.
func FormatValueString ¶
FormatValueString returns a TOML-encoded scalar value as a string.
func SetValuesInBytes ¶
SetValuesInBytes returns a copy of the provided bytes with the changes specified by Updates applied. Keys are of the form <key 0>.<key 1>...<key n>. Integers may be used as keys where a specific array element needs to be selected. An error is returned for any attempted update to a key that does not exist or does not address a scalar node. Untouched bytes are preserved.
func SetValuesInFile ¶
SetValuesInFile overwrites the specified file with the changes specified by the list of Updates. Keys are of the form <key 0>.<key 1>...<key n>. Integers may be used as keys where a specific array element needs to be selected. An error is returned for any attempted update to a key that does not exist or does not address a scalar node. Untouched bytes are preserved.