Files

17 lines
311 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
package model
import "encoding/csv"
//CsvFormatter CsvFormatter
type CsvFormatter interface {
GetFileName() string
// ToCsv do not call flush
ToCsv(writer *csv.Writer)
}
//ExportArgInterface export interface
type ExportArgInterface interface {
// ExportFormat options: json, csv
ExportFormat() string
}