Documentation ¶
Overview ¶
Package testsuite provides helper functions for interoperating with the language-agnostic TOML test suite at github.com/BurntSushi/toml-test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeStdin ¶
func DecodeStdin() error
DecodeStdin is a helper function for the toml-test binary interface. TOML input is read from STDIN and a resulting tagged JSON representation is written to STDOUT.
func EncodeStdin ¶
func EncodeStdin() error
EncodeStdin is a helper function for the toml-test binary interface. Tagged JSON is read from STDIN and a resulting TOML representation is written to STDOUT.
func Marshal ¶
Marshal is a helpfer function for calling toml.Marshal
Only needed to avoid package import loops.
func Unmarshal ¶
Unmarshal is a helper function for calling toml.Unmarshal.
Only needed to avoid package import loops.
func ValueToTaggedJSON ¶
ValueToTaggedJSON takes a data structure and returns the tagged JSON representation.
Types ¶
This section is empty.