Categorygithub.com/scalingdata/gcfg
modulepackage
0.0.0-20140729183856-37aabad69cfd
Repository: https://github.com/scalingdata/gcfg.git
Documentation: pkg.go.dev

# README

Gcfg reads INI-style configuration files into Go structs; supports user-defined types and subsections.

Project page: https://code.google.com/p/gcfg Package docs: http://godoc.org/code.google.com/p/gcfg

My other projects: https://speter.net

# Packages

Package scanner implements a scanner for gcfg configuration text.
Package token defines constants representing the lexical tokens of the gcfg configuration syntax and basic operations on tokens (printing, predicates).
Package types defines helpers for type conversions.

# Functions

ReadFileInto reads gcfg formatted data from the file filename and sets the values into the corresponding fields in config.
ReadInto reads gcfg formatted data from reader and sets the values into the corresponding fields in config.
ReadStringInto reads gcfg formatted data from str and sets the values into the corresponding fields in config.