config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInit

func DefaultInit()

DefaultInit func is default Init Config file without config file information

func SpecificInit

func SpecificInit(file string)

SpecificInit func is Init with specific Config file

Types

type Config

type Config struct {
	*viper.Viper
}

Config struct is a wrapper of viper

var GlobalConfig *Config

GlobalConfig default Global Variable for Config

Jump to

Keyboard shortcuts

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