mocks

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeExporter

type FakeExporter struct {
	mock.Mock
}

func (*FakeExporter) CSVExportToByte

func (e *FakeExporter) CSVExportToByte(columns []string, rows [][]interface{}) ([]byte, error)

func (*FakeExporter) CSVExportToFile

func (e *FakeExporter) CSVExportToFile(columns []string, rows [][]interface{}, filePath string) error

func (*FakeExporter) XLSXExportToByte

func (e *FakeExporter) XLSXExportToByte(sheet string, columns []string, rows [][]interface{}) ([]byte, error)

func (*FakeExporter) XLSXExportToFile

func (e *FakeExporter) XLSXExportToFile(sheet string, columns []string, rows [][]interface{}, filePath string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL