Discover Packages
github.com/chef/automate
components
automate-deployment
pkg
toml
package
Version:
v0.0.0-...-be2ef80
Opens a new window with list of versions in this module.
Published: Nov 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
Documentation
¶
Marshal returns the TOML encoding of v.
func StrictUnmarshal(data []byte , v interface{}) error
StrictUnmarshal parses the TOML encoded data and stores the result
in the value pointed to by v. Unlike Unmarshal, any unknown keys in
the data is an error.
func Unmarshal(data []byte , v interface{}) error
Unmarshal parses the TOML encoded data and stores the result in the
value pointed to by v.
Validate returns nil if data is valid TOML. Otherwise, an error
describing the parse failure is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.