config

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownSourceType = errors.New("unknown type")

ErrUnknownSourceType when source type not string-path or io.Reader

Functions

func Load

func Load(src, config interface{}) error

Load config from source (like io.Reader / string path) and validate it (https://github.com/go-playground/validator)

Types

This section is empty.

Jump to

Keyboard shortcuts

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