本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1KB

  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. The specification implemented: https://github.com/toml-lang/toml
  7. The sub-command github.com/BurntSushi/toml/cmd/tomlv can be used to verify
  8. whether a file is a valid TOML document. It can also be used to print the
  9. type of each key in a TOML document.
  10. Testing
  11. There are two important types of tests used for this package. The first is
  12. contained inside '*_test.go' files and uses the standard Go unit testing
  13. framework. These tests are primarily devoted to holistically testing the
  14. decoder and encoder.
  15. The second type of testing is used to verify the implementation's adherence
  16. to the TOML specification. These tests have been factored into their own
  17. project: https://github.com/BurntSushi/toml-test
  18. The reason the tests are in a separate project is so that they can be used by
  19. any implementation of TOML. Namely, it is language agnostic.
  20. */
  21. package toml
上海开阖软件有限公司 沪ICP备12045867号-1