export

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSVContentType = "text/csv"
)
View Source
const (
	ExcelContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
)

Variables

This section is empty.

Functions

func InventoryChangeLogsToExcel

func InventoryChangeLogsToExcel(resp *pb.ExportInventoryChangeLogsResponse) ([]byte, error)

InventoryChangeLogsToExcel builds an Excel file from an export inventory change logs response.

func ItemsToExcel

func ItemsToExcel(resp *pb.ExportItemsResponse) ([]byte, error)

ItemsToExcel builds an Excel file from an export items response.

func ReceivablesToCSV

func ReceivablesToCSV(entries []*pb.ReceivableEntryProto) ([]byte, error)

ReceivablesToCSV builds a CSV file from a list of receivable entry protos.

Types

This section is empty.

Jump to

Keyboard shortcuts

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