config_viper

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Viper

func Viper(configPath, configFileName, configType string, watch func(in fsnotify.Event)) *viper.Viper

Viper *****************************************************

  • @Description: 解析配置文件
  • @param configPath 配置文件路径
  • @param configFile 配置文件名称
  • @param configType 配置文件类型
  • @return *viper.Viper *****************************************************

Types

This section is empty.

Jump to

Keyboard shortcuts

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