export.go 198 B

1234567891011
  1. package xvdoc
  2. type ExportMethod func(matrix []Matrix) ([]byte, error)
  3. var (
  4. exportMethods = map[string]ExportMethod{
  5. "string": exportString,
  6. "csv": exportCSV,
  7. "xlsx": exportXLSX,
  8. }
  9. )