mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
typo
This commit is contained in:
@@ -26,7 +26,7 @@ type AgentConfig struct {
|
||||
v *viper.Viper
|
||||
}
|
||||
|
||||
// Read 从给点的文件目录加载配置文件
|
||||
// Read 从给定的文件目录加载配置文件
|
||||
func (c *AgentConfig) Read(path string) error {
|
||||
c.v = viper.New()
|
||||
c.v.SetConfigFile(path)
|
||||
|
||||
Reference in New Issue
Block a user