This commit is contained in:
Reza Behzadan 2024-02-18 15:37:23 +03:30
parent ecd2201754
commit ad864c61d9

View File

@ -39,7 +39,7 @@ func (d Dict) DumpYaml(fn string) error {
return os.WriteFile(fn, data, 0644) // Write with user read/write, group read, and others read permissions return os.WriteFile(fn, data, 0644) // Write with user read/write, group read, and others read permissions
} }
func (d Dict) dumpYamlStr() (string, error) { func (d Dict) DumpYamlStr() (string, error) {
data, err := yaml.Marshal(d) data, err := yaml.Marshal(d)
if err != nil { if err != nil {
return "", err return "", err