diff options
| author | Felix Hanley <felix@monk.local> | 2017-07-12 13:41:54 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@monk.local> | 2017-07-12 13:41:54 +0000 |
| commit | d257530cb0278c71b6edbbd0d5a60531f4536d09 (patch) | |
| tree | 2b55fe5ac959a0d19340498b030c08216bce13dc /vendor/github.com/BurntSushi/toml/_examples/invalid.toml | |
| download | nomoreads-master.tar.gz nomoreads-master.tar.bz2 | |
Diffstat (limited to 'vendor/github.com/BurntSushi/toml/_examples/invalid.toml')
| -rw-r--r-- | vendor/github.com/BurntSushi/toml/_examples/invalid.toml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/github.com/BurntSushi/toml/_examples/invalid.toml b/vendor/github.com/BurntSushi/toml/_examples/invalid.toml new file mode 100644 index 0000000..beb1dba --- /dev/null +++ b/vendor/github.com/BurntSushi/toml/_examples/invalid.toml @@ -0,0 +1,35 @@ +# This is an INVALID TOML document. Boom. +# Can you spot the error without help? + +title = "TOML Example" + +[owner] +name = "Tom Preston-Werner" +organization = "GitHub" +bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." +dob = 1979-05-27T7:32:00Z # First class dates? Why not? + +[database] +server = "192.168.1.1" +ports = [ 8001, 8001, 8002 ] +connection_max = 5000 +enabled = true + +[servers] + # You can indent as you please. Tabs or spaces. TOML don't care. + [servers.alpha] + ip = "10.0.0.1" + dc = "eqdc10" + + [servers.beta] + ip = "10.0.0.2" + dc = "eqdc10" + +[clients] +data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it + +# Line breaks are OK when inside arrays +hosts = [ + "alpha", + "omega" +] |
