Exporting data all types support added.

This commit is contained in:
Musab Gültekin
2019-06-09 13:22:20 +03:00
parent d967555b62
commit 9263877339
4 changed files with 7 additions and 4 deletions

View File

@ -23,6 +23,8 @@ func Export(response *Response) {
for res := range response.Exports {
//fmt.Println(res)
_ = json.NewEncoder(file).Encode(res)
encoder := json.NewEncoder(file)
encoder.SetEscapeHTML(false)
encoder.Encode(res)
}
}