conf

package
v0.0.0-...-e8acdfa Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(defaultVal bool, keys ...string) bool

func BoolMust

func BoolMust(keys ...string) bool

func Exists

func Exists(keys ...string) bool

func Float

func Float(defaultVal float64, keys ...string) float64

func FloatMust

func FloatMust(keys ...string) float64

func Get

func Get(defaultVal interface{}, keys ...string) interface{}

func Int

func Int(defaultVal int, keys ...string) int

func IntMust

func IntMust(keys ...string) int

func MapMust

func MapMust(keys ...string) map[string]interface{}

func String

func String(defaultVal string, keys ...string) string

func StringMust

func StringMust(keys ...string) string

func StringSlice

func StringSlice(defaultVal []string, keys ...string) []string

func StringSliceMust

func StringSliceMust(keys ...string) []string

func Struct

func Struct(addr interface{}, keys ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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