config

package
v0.0.0-...-6217932 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2016 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(name string, defaultValue int, help string) *int

func MustInt

func MustInt(optName string, i int) int

func MustParse

func MustParse(configFile string)

func MustString

func MustString(optName, s string) string

Convenience function to abort if s is unset.

func Parse

func Parse(configFile string) error

func String

func String(name, defaultValue, help string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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