config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Content = `` /* 206-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetBasePath

func GetBasePath() string

GetBasePath 获取配置路径,最后带目录分隔符

func GetConfigFile

func GetConfigFile() string

func GetDBFile

func GetDBFile() string

func GetHomeDir

func GetHomeDir() string

GetHomeDir 获取配置路径,最后带目录分隔符

func Parse

func Parse(configFile string) error

func Update

func Update()

Types

type Config

type Config struct {
	AliOss model.AliOss
}
var Cfg *Config

Jump to

Keyboard shortcuts

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