15 lines
212 B
Go
15 lines
212 B
Go
package yamlUtil
|
|
|
|
import (
|
|
"fmt"
|
|
"goutil/jsonUtil"
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadYaml(t *testing.T) {
|
|
config, _ := LoadFromFile("config.yaml")
|
|
configStr, _ := jsonUtil.DeepClone(config)
|
|
|
|
fmt.Print(configStr)
|
|
}
|