export

package
v0.0.1-20220720-0003 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportMap = cmap.New(cmap.MapConstructor{})

Functions

func GetExcelFileExportPath

func GetExcelFileExportPath() (string, error)

func GetExportPath

func GetExportPath(paths ...string) (string, error)

func GetHtmlFileExportPath

func GetHtmlFileExportPath() (string, error)

func GetJsonFileExportPath

func GetJsonFileExportPath() (string, error)

func GetPdfFileExportPath

func GetPdfFileExportPath() (string, error)

func GetWordFileExportPath

func GetWordFileExportPath() (string, error)

Types

type FileExport

type FileExport struct {
	TTL       int64
	Name      string
	Extension string
	//Type string
	// FullPath can be indicated optionally only if you want to overwrite it
	FullPath string
	// contains filtered or unexported fields
}

func NewFileExport

func NewFileExport(f ...*FileExport) (*FileExport, error)

func (*FileExport) Export

func (fe *FileExport) Export()

Jump to

Keyboard shortcuts

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