Added Godeps and embedded dependencies
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
; Google
|
||||
google = www.google.com
|
||||
search = http://%(google)s
|
||||
|
||||
; Here are Comments
|
||||
; Second line
|
||||
[Demo]
|
||||
# This symbol can also make this line to be comments
|
||||
key1 = Let's us goconfig!!!
|
||||
key2 = test data
|
||||
key3 = this is based on key2:%(key2)s
|
||||
quote = "special case for quote
|
||||
"key:1" = This is the value of "key:1"
|
||||
"key:2=key:1" = this is based on "key:2=key:1" => %(key:1)s
|
||||
中国 = China
|
||||
chinese-var = hello %(中国)s!
|
||||
array_key = 1,2,3,4,5
|
||||
|
||||
[What's this?]
|
||||
; Not Enough Comments!!
|
||||
name = try one more value ^-^
|
||||
empty_value =
|
||||
|
||||
[url]
|
||||
google_fake = www.google.fake
|
||||
google_url = http://%(google_fake)s
|
||||
|
||||
[parent]
|
||||
name = john
|
||||
relation = father
|
||||
sex = male
|
||||
age = 32
|
||||
money = 1.25
|
||||
|
||||
[parent.child]
|
||||
age = 3
|
||||
married = true
|
||||
|
||||
[parent.child.child]
|
||||
|
||||
; Auto increment by setting key to "-"
|
||||
[auto increment]
|
||||
- = hello
|
||||
- = go
|
||||
- = config
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
; Google
|
||||
google = www.google.com
|
||||
search = http://%(google)s
|
||||
|
||||
; Here are Comments
|
||||
; Second line
|
||||
[Demo]
|
||||
# This symbol can also make this line to be comments
|
||||
key1 = Let's us goconfig!!!
|
||||
key2 = rewrite this key of conf.ini
|
||||
key3 = this is based on key2:%(key2)s
|
||||
"key:1" = This is the value of "key:1"
|
||||
"""key:2"""="""this is based on "key:1" => `%(key:1)s`"""
|
||||
|
||||
[What's this?]
|
||||
; Not Enough Comments!!
|
||||
name = try one more value ^-^
|
||||
|
||||
[parent]
|
||||
name = john
|
||||
relation = father
|
||||
sex = male
|
||||
age = 32
|
||||
|
||||
[parent.child]
|
||||
age = 3
|
||||
|
||||
[parent.child.child]
|
||||
|
||||
; Auto increment by setting key to "-"
|
||||
[auto increment]
|
||||
- = hello
|
||||
- = go
|
||||
- = config
|
||||
|
||||
[new section]
|
||||
key1 = conf.ini does not have this key
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
; Google
|
||||
google = www.google.com
|
||||
search = http://%(google)s
|
||||
|
||||
; Here are Comments
|
||||
; Second line
|
||||
[Demo]
|
||||
# This symbol can also make this line to be comments
|
||||
key1 = Let's us goconfig!!!
|
||||
key2 = rewrite this key of conf.ini
|
||||
key3 = this is based on key2:%(key2)s
|
||||
quote = "special case for quote
|
||||
`key:1` = This is the value of "key:1"
|
||||
`key:2=key:1` = this is based on "key:2=key:1" => %(key:1)s
|
||||
中国 = China
|
||||
chinese-var = hello %(中国)s!
|
||||
array_key = 1,2,3,4,5
|
||||
`key:2` = """this is based on "key:1" => `%(key:1)s`"""
|
||||
|
||||
[What's this?]
|
||||
; Not Enough Comments!!
|
||||
name = try one more value ^-^
|
||||
empty_value =
|
||||
|
||||
[url]
|
||||
google_fake = www.google.fake
|
||||
google_url = http://%(google_fake)s
|
||||
|
||||
[parent]
|
||||
name = john
|
||||
relation = father
|
||||
sex = male
|
||||
age = 32
|
||||
money = 1.25
|
||||
|
||||
[parent.child]
|
||||
age = 3
|
||||
married = true
|
||||
|
||||
[parent.child.child]
|
||||
|
||||
; Auto increment by setting key to "-"
|
||||
[auto increment]
|
||||
- = hello
|
||||
- = go
|
||||
- = config
|
||||
|
||||
[new section]
|
||||
key1 = conf.ini does not have this key
|
||||
|
||||
Reference in New Issue
Block a user