File: README.md

package info (click to toggle)
golang-toml 0.2.0%2Bgit20160717.21.9906417-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 300 kB
  • sloc: makefile: 21
file content (22 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# TOML Validator

If Go is installed, it's simple to try it out:

```bash
go get github.com/BurntSushi/toml/cmd/tomlv
tomlv some-toml-file.toml
```

You can see the types of every key in a TOML file with:

```bash
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](https://github.com/mojombo/toml/blob/master/versions/toml-v0.1.0.md)