-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add functions to load TOML files as another supported type of document. Fix TYPO of variable output processor. Make binaries as static as possible. Add Ginkgo Travis CI suggestions on which flags should be used. Add example TOML file.
- Loading branch information
1 parent
f83ffbc
commit 9bd24e3
Showing
7 changed files
with
91 additions
and
31 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 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This is a TOML document. | ||
|
||
title = "TOML Example" | ||
|
||
[owner] | ||
name = "Tom Preston-Werner" | ||
dob = 1979-05-27T07:32:00-08:00 # First class dates | ||
|
||
[database] | ||
server = "192.168.1.1" | ||
ports = [ 8001, 8001, 8002 ] | ||
connection_max = 5000 | ||
enabled = true | ||
|
||
[servers] | ||
|
||
# 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" | ||
|
||
[clients] | ||
data = [ ["gamma", "delta"], [1, 2] ] | ||
|
||
# Line breaks are OK when inside arrays | ||
hosts = [ | ||
"alpha", | ||
"omega" | ||
] |
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 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 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 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 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