gopkg.in/alecthomas/gometalinter.v3@v3.0.0/_linters/src/github.com/BurntSushi/toml/doc.go (about) 1 /* 2 Package toml provides facilities for decoding and encoding TOML configuration 3 files via reflection. There is also support for delaying decoding with 4 the Primitive type, and querying the set of keys in a TOML document with the 5 MetaData type. 6 7 The specification implemented: https://github.com/toml-lang/toml 8 9 The sub-command github.com/BurntSushi/toml/cmd/tomlv can be used to verify 10 whether a file is a valid TOML document. It can also be used to print the 11 type of each key in a TOML document. 12 13 Testing 14 15 There are two important types of tests used for this package. The first is 16 contained inside '*_test.go' files and uses the standard Go unit testing 17 framework. These tests are primarily devoted to holistically testing the 18 decoder and encoder. 19 20 The second type of testing is used to verify the implementation's adherence 21 to the TOML specification. These tests have been factored into their own 22 project: https://github.com/BurntSushi/toml-test 23 24 The reason the tests are in a separate project is so that they can be used by 25 any implementation of TOML. Namely, it is language agnostic. 26 */ 27 package toml