~adnano/go-ini

Package ini implements a simple INI parser.
Add LICENSE
Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~adnano/go-ini
read/write
git@git.sr.ht:~adnano/go-ini

You can also use your local clone with git send-email.

#go-ini

Package ini implements a simple INI parser for Go.

#Comments

Any line beginning with a ';' is a comment.

; This is a comment

#Keys

The basic element of an INI file is called a key. Whitespace is allowed around the '=' sign.

a=b
; equivalent to a=b
a = b  
; equivalent to a a=b b
a a = b b

Keys can be specified before any section is declared.

#Sections

A section starts with '[' and ends with ']'. The section name must not be empty.

[section]
a=b
c=d