Documentation ¶
Overview ¶
* @Author: cnzf1 * @Date: 2021-12-15 16:01:51 * @LastEditors: cnzf1 * @LastEditTime: 2023-02-28 14:59:46 * @Description: viper解析配置文件
Index ¶
Constants ¶
View Source
const ( TYPE_JSON = "json" TYPE_YAML = "yaml" TYPE_TOML = "toml" TYPE_INI = "ini" )
Variables ¶
This section is empty.
Functions ¶
func OnConfigChanged ¶
func OnConfigChanged(f func())
Types ¶
Click to show internal directories.
Click to hide internal directories.