remove string double quotes

This commit is contained in:
Stefan Prodan
2018-01-06 13:30:18 +02:00
parent 44409035c3
commit a35ba78a46
+1 -1
View File
@@ -101,7 +101,7 @@ func filesToMap(dir string) (map[string]string, error) {
for s.Scan() {
kv := strings.Split(s.Text(), "=")
if len(kv) > 1 {
list[kv[0]] = kv[1]
list[kv[0]] = strings.Replace(kv[1], "\"", "", -1)
} else {
list[kv[0]] = ""
}