From 6b75682bdf5fb07f435fa1a07de64f6500f39cfb Mon Sep 17 00:00:00 2001 From: naiba Date: Tue, 12 Apr 2022 20:11:19 +0800 Subject: [PATCH] typo --- model/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/config.go b/model/config.go index 947aa76..e7cf6b7 100644 --- a/model/config.go +++ b/model/config.go @@ -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)