config

package
v0.0.0-...-0a97e14 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileNoExist = errors.New("Cfg File .rossy.yaml doesn't exist!")
	ErrFileFormat  = errors.New("Cfg format is <Key>: <value>")
)

Functions

func Get

func Get(key string) string

func ReadYAML

func ReadYAML(filePath string) error

ReadYAML just replace viper to simply read config from file, only for self-use

Types

This section is empty.

Jump to

Keyboard shortcuts

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