config

package
v0.0.0-...-5e00ec5 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalConfig = &Config{
	viper.New(),
}

GlobalConfig 默认全局配置

Functions

func Init

func Init()

Init 使用 ./application.yaml 初始化全局配置

Types

type Config

type Config struct {
	*viper.Viper
}

Jump to

Keyboard shortcuts

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