config

package
v0.0.0-...-6f8e8b2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package config 为保证配置加载在第一时间发生,故将加载配置独立到单独包中。 主程序使用时需进行导入包,已方便配置生效。

import . "github.com/ysqi/goall-robot/config"

Index

Constants

This section is empty.

Variables

View Source
var AppDir string

程序根目录,默认为运行时程序所在目录, 但在测试模式下将调整为源文件项目根目录

View Source
var RunMode = "dev"

运行模式(prod,test,dev)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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