mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-01 14:44:00 +01:00
51 lines
945 B
INI
51 lines
945 B
INI
; 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
|
|
|