mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

for i in github.com/BurntSushi/toml github.com/coreos/go-etcd/etcd github.com/coreos/go-log/log github.com/gorilla/context github.com/rcrowley/go-metrics bitbucket.org/kardianos/osext github.com/coreos/go-systemd/journal github.com/coreos/raft code.google.com/p/goprotobuf/proto ; do goven -copy -rewrite $i; done
TOML Validator
If Go is installed, it's simple to try it out:
go get github.com/BurntSushi/toml/tomlv
tomlv some-toml-file.toml
You can see the types of every key in a TOML file with:
tomlv -types some-toml-file.toml
At the moment, only one error message is reported at a time. Error messages
include line numbers. No output means that the files given are valid TOML, or
there is a bug in tomlv
.
Compatible with TOML version v0.1.0