-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
927a577
commit 4ce084e
Showing
7 changed files
with
1,506 additions
and
427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,31 @@ | ||
# This is a TOML document. Boom. | ||
|
||
title = "TOML Example" | ||
|
||
[owner] | ||
name = "Tom Preston-Werner" | ||
organization = "GitHub" | ||
bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." | ||
dob = 1979-05-27T07:32:00Z # First class dates? Why not? | ||
dob = 1979-05-27T07:32:00-08:00 # First class dates | ||
|
||
[database] | ||
server = "192.168.1.1" | ||
ports = [ 8001, 8001, 8002 ] | ||
ports = [ 8000, 8001, 8002 ] | ||
connection_max = 5000 | ||
enabled = true | ||
|
||
[servers] | ||
|
||
# You can indent as you please. Tabs or spaces. TOML don't care. | ||
# Indentation (tabs and/or spaces) is allowed but not required | ||
[servers.alpha] | ||
ip = "10.0.0.1" | ||
dc = "eqdc10" | ||
|
||
[servers.beta] | ||
ip = "10.0.0.2" | ||
dc = "eqdc10" | ||
country = "中国" # This should be parsed as UTF-8 | ||
|
||
[clients] | ||
data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it | ||
data = [ ["gamma", "delta"], [1, 2] ] | ||
|
||
# Line breaks are OK when inside arrays | ||
hosts = [ | ||
"alpha", | ||
"omega" | ||
] | ||
|
||
# Products | ||
|
||
[[products]] | ||
name = "Hammer" | ||
sku = 738594937 | ||
|
||
[[products]] | ||
name = "Nail" | ||
sku = 284758393 | ||
color = "gray" | ||
] |
Oops, something went wrong.