Rendered field exported to support rendered requests on Do function. Data races fixed.

This commit is contained in:
Musab Gültekin committed 2019-06-14 15:23:56 +03:00
1 parent 1a7d480b36
commit 6caf1effd6
8 files changed
+47 -68

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ type CSVExporter struct {
writer *csv.Writer
}
func (e CSVExporter) Export(response *geziyor.Response) {
func (e *CSVExporter) Export(response *geziyor.Response) {
// Default filename
if e.FileName == "" {
+1 -1
View File
@@ -19,7 +19,7 @@ type JSONExporter struct {
}
// Export exports response data as JSON streaming file
func (e JSONExporter) Export(response *geziyor.Response) {
func (e *JSONExporter) Export(response *geziyor.Response) {
// Default filename
if e.FileName == "" {