support notes for config

This commit is contained in:
yuzuki999
2023-08-20 22:24:57 +08:00
parent 0fce6588da
commit c3bb809c71
5 changed files with 170 additions and 35 deletions

View File

@@ -6,7 +6,7 @@ import (
func TestConf_LoadFromPath(t *testing.T) {
c := New()
t.Log(c.LoadFromPath("./config.json"), c.NodeConfig)
t.Log(c.LoadFromPath("../example/config.json"), c.NodeConfig)
}
func TestConf_Watch(t *testing.T) {