env

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const RUNTIME_CONFIG = "RUNTIME_CONFIG"

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	ConfigPath string
}
var Env *Runtime

func (*Runtime) LoadConfig

func (r *Runtime) LoadConfig(file string, cfg interface{}) error

从环境变量对应的目录下加载需要的配置文件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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