Documentation ¶
Index ¶
- func RegisterConvertFunc(name string, fn ConvertFunc)
- func TimeStampToDate(p ExportProfile, val reflect.Value) (interface{}, error)
- func WriteHeaderToExcel(f *excelize.File, sheetName string, profiles []ExportProfile)
- func WriteToExcel(sheetName string, profiles []ExportProfile, obj interface{}) ([]byte, error)
- type ConvertFunc
- type ExportProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterConvertFunc ¶
func RegisterConvertFunc(name string, fn ConvertFunc)
func TimeStampToDate ¶
func TimeStampToDate(p ExportProfile, val reflect.Value) (interface{}, error)
func WriteHeaderToExcel ¶
func WriteHeaderToExcel(f *excelize.File, sheetName string, profiles []ExportProfile)
func WriteToExcel ¶
func WriteToExcel(sheetName string, profiles []ExportProfile, obj interface{}) ([]byte, error)
Types ¶
type ConvertFunc ¶
type ConvertFunc func(ExportProfile, reflect.Value) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.