Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Decoder config.Decoder = parser.Decode
Decoder the ini content decoder
View Source
var Driver = &iniDriver{config.Ini}
Driver for ini
View Source
var Encoder config.Encoder = func(ptr interface{}) (out []byte, err error) { return parser.Encode(ptr) }
Encoder encode data to ini content
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package parser is a Parser for parse INI format content to golang data There are example data: # comments name = inhere age = 28 debug = true hasQuota1 = 'this is val' hasQuota2 = "this is val1" shell = ${SHELL} noEnv = ${NotExist|defValue} ; array in def section tags[] = a tags[] = b tags[] = c ; comments [sec1] key = val0 some = value stuff = things ; array in section types[] = x types[] = y how to use, please see examples:
|
Package parser is a Parser for parse INI format content to golang data There are example data: # comments name = inhere age = 28 debug = true hasQuota1 = 'this is val' hasQuota2 = "this is val1" shell = ${SHELL} noEnv = ${NotExist|defValue} ; array in def section tags[] = a tags[] = b tags[] = c ; comments [sec1] key = val0 some = value stuff = things ; array in section types[] = x types[] = y how to use, please see examples: |
Click to show internal directories.
Click to hide internal directories.