
Also do following improvements: - show proper sublinter name for megacheck sublinters - refactor and make more simple and robust megacheck merging/optimizing - improve handling of unknown linter names in //nolint directives - minimize diff of our megacheck version from the upstream, https://github.com/golang/go/issues/29612 blocks usage of the upstream version - support the new `stylecheck` linter - improve tests coverage for megacheck and nolint related cases - update and use upstream versions of unparam and interfacer instead of forked ones - don't use golangci/tools repo anymore - fix newly found issues after updating linters Also should be noted that megacheck works much faster and consumes less memory in the newest release, therefore golangci-lint works noticeably faster and consumes less memory for large repos. Relates: #314
28 lines
1.1 KiB
Go
28 lines
1.1 KiB
Go
/*
|
|
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.
|
|
|
|
The specification implemented: https://github.com/toml-lang/toml
|
|
|
|
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.
|
|
|
|
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.
|
|
*/
|
|
package toml
|