github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/goconfig/testdata/conf.ini (about)

     1  ; Google
     2  google = www.google.com
     3  search = http://%(google)s
     4  
     5  ; Here are Comments
     6  ; Second line
     7  [Demo]
     8  # This symbol can also make this line to be comments
     9  key1 = Let's us goconfig!!!
    10  key2 = test data
    11  key3 = this is based on key2:%(key2)s
    12  quote = "special case for quote
    13  "key:1" = This is the value of "key:1"
    14  "key:2=key:1" = this is based on "key:2=key:1" => %(key:1)s
    15  中国 = China
    16  chinese-var = hello %(中国)s!
    17  array_key = 1,2,3,4,5
    18  
    19  [What's this?]
    20  ; Not Enough Comments!!
    21  name = try one more value ^-^
    22  empty_value = 
    23  
    24  [url]
    25  google_fake = www.google.fake
    26  google_url =  http://%(google_fake)s
    27  
    28  [parent]
    29  name = john
    30  relation = father
    31  sex = male
    32  age = 32
    33  money = 1.25
    34  
    35  [parent.child]
    36  age = 3
    37  married = true
    38  
    39  [parent.child.child]
    40  
    41  ; Auto increment by setting key to "-"
    42  [auto increment]
    43  - = hello
    44  - = go
    45  - = config
    46