Skip to content

wcspromoteam/ini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PACKAGE

package ini
import "github.com/wcspromoteam/ini"

A simple package to read ini files (actually just name=value files, [sections] are not supported yet because we have no need for them.


FUNCTIONS

func Load(filename string) (settings map[string]string, e os.Error)
Load an ini file. Pass a filename, returns a map of all of the name=value pairs within the file, and an error if applicable.

func Save(filename string, settings map[string]string) (e os.Error)
Save a map of settings to filename in name=value format. Returns nil on success, error otherwise.

About

Simple reader of the INI file format for go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages