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

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

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 == "" {

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 == "" {