sconf

package module
v0.0.0-...-07f58c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2015 License: BSD-3-Clause Imports: 2 Imported by: 2

README

sconf: structured configuration (previously gcfg) https://godoc.org/gopkg.in/sconf/sconf.v0

Build Status

Documentation

Overview

Example
var cfg = struct {
	Main struct {
		Url string
	}
}{}
sconf.Must(&cfg).Read(ini.File("testdata/example.ini"))
fmt.Println(cfg.Main.Url)
Output:

http://localhost/

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Must

func Must(ptr interface{}) internal.Struct

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL