config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse() error

解析配置文件,无需改动 Author: Violet_Ice紫冰 <violetice@aliyun.com>

Types

type Config

type Config struct {
	App app `yaml:"app"`
	Db  db  `yaml:"db"`
}

配置文件结构体,可更具需求改动 Author: Violet_Ice紫冰 <violetice@aliyun.com>

var (
	Conf Config
)

Jump to

Keyboard shortcuts

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