Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
- Variables
- func Get(key string) string
- func GetByDefault(key string, defaultValue string) string
- func GetInt64ByDefault(key string, defaultValue int64) int64
- func GetIntByDefault(key string, defaultValue int) int
- func GetStrArrayByDefault(key string, defaultValue []string) []string
- func Load() (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Test bool // 当前是否是测试环境 RootDir string // 当前运行的二进制所在的目录 )
Functions ¶
func GetByDefault ¶
func GetInt64ByDefault ¶ added in v0.4.0
func GetIntByDefault ¶
func GetStrArrayByDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.