diff options
Diffstat (limited to 'management/format/csv.go')
-rw-r--r-- | management/format/csv.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/management/format/csv.go b/management/format/csv.go new file mode 100644 index 0000000..fd8ad33 --- /dev/null +++ b/management/format/csv.go @@ -0,0 +1,9 @@ +// Package format provides interfaces to format content into various kinds of +// data +package format + +// CSVFormattable is implemented with the method FormatCSV, which must return the ordered +// slice of JSON struct tag names for the type implmenting it +type CSVFormattable interface { + FormatCSV() []string +} |