Skip to main content

parse.ini

Description

Parse INI files

Init

parse.ini(path string) parse.ini(delimiter string)

Fields

IDTYPEDESCRIPTION
delimiterstringSymbol that is separating keys and values
filefileFile that is being parsed
contentstringRaw content of the file that is parsed
sectionsmap[string]map[string]stringA map of sections and key-value pairs
paramsmap[string]stringA map of parameters that don't belong to sections