diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-05 15:45:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 15:45:55 +0000 |
commit | 1359f07bda73036f80d6938bcf92584c7ee10d1f (patch) | |
tree | 0d0b9b3cd16b360e0866b7ec5949bc9bbadf7321 /vendor/github.com/BurntSushi/toml/doc.go | |
parent | 1f0a24437d71f8fe2b2233a428202afcfe513666 (diff) | |
parent | adee0ca59972a8590f5f278a4fbcc531acec2ebb (diff) | |
download | podman-1359f07bda73036f80d6938bcf92584c7ee10d1f.tar.gz podman-1359f07bda73036f80d6938bcf92584c7ee10d1f.tar.bz2 podman-1359f07bda73036f80d6938bcf92584c7ee10d1f.zip |
Merge pull request #11144 from containers/dependabot/go_modules/github.com/BurntSushi/toml-0.4.1
Bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1
Diffstat (limited to 'vendor/github.com/BurntSushi/toml/doc.go')
-rw-r--r-- | vendor/github.com/BurntSushi/toml/doc.go | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/vendor/github.com/BurntSushi/toml/doc.go b/vendor/github.com/BurntSushi/toml/doc.go index b371f396e..099c4a77d 100644 --- a/vendor/github.com/BurntSushi/toml/doc.go +++ b/vendor/github.com/BurntSushi/toml/doc.go @@ -1,27 +1,13 @@ /* -Package toml provides facilities for decoding and encoding TOML configuration -files via reflection. There is also support for delaying decoding with -the Primitive type, and querying the set of keys in a TOML document with the -MetaData type. +Package toml implements decoding and encoding of TOML files. -The specification implemented: https://github.com/toml-lang/toml +This package supports TOML v1.0.0, as listed on https://toml.io -The sub-command github.com/BurntSushi/toml/cmd/tomlv can be used to verify -whether a file is a valid TOML document. It can also be used to print the -type of each key in a TOML document. +There is also support for delaying decoding with the Primitive type, and +querying the set of keys in a TOML document with the MetaData type. -Testing - -There are two important types of tests used for this package. The first is -contained inside '*_test.go' files and uses the standard Go unit testing -framework. These tests are primarily devoted to holistically testing the -decoder and encoder. - -The second type of testing is used to verify the implementation's adherence -to the TOML specification. These tests have been factored into their own -project: https://github.com/BurntSushi/toml-test - -The reason the tests are in a separate project is so that they can be used by -any implementation of TOML. Namely, it is language agnostic. +The github.com/BurntSushi/toml/cmd/tomlv package implements a TOML validator, +and can be used to verify if TOML document is valid. It can also be used to +print the type of each key. */ package toml |