goProject/trunk/goutil/yamlUtil/load_test.go

15 lines
212 B
Go
Raw Permalink Normal View History

2025-01-06 16:01:02 +08:00
package yamlUtil
import (
"fmt"
"goutil/jsonUtil"
"testing"
)
func TestLoadYaml(t *testing.T) {
config, _ := LoadFromFile("config.yaml")
configStr, _ := jsonUtil.DeepClone(config)
fmt.Print(configStr)
}