github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/goconfig/testdata/conf2.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 = rewrite this key of conf.ini
    11  key3 = this is based on key2:%(key2)s
    12  "key:1" = This is the value of "key:1"
    13  """key:2"""="""this is based on "key:1" => `%(key:1)s`"""
    14  
    15  [What's this?]
    16  ; Not Enough Comments!!
    17  name = try one more value ^-^
    18  
    19  [parent]
    20  name = john
    21  relation = father
    22  sex = male
    23  age = 32
    24  
    25  [parent.child]
    26  age = 3
    27  
    28  [parent.child.child]
    29  
    30  ; Auto increment by setting key to "-"
    31  [auto increment]
    32  - = hello
    33  - = go
    34  - = config
    35  
    36  [new section]
    37  key1 = conf.ini does not have this key