Discover Packages
github.com/dreamlu/gt
tool
file
excel
package
Version:
v1.30.9
Opens a new window with list of versions in this module.
Published: Jun 24, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Excel struct {
*excelize.File
Data interface{}
Model interface{}
Mapper map[string ]string
Value Mapper
}
func ExportExcel(model, data interface{}) (e *Excel , err error )
func NewExcel(model interface{}) *Excel
func (f *Excel ) Export(data interface{}) (err error )
Point use to set the starting point for exporting data
type Mapper func(interface{}, string ) (interface{}, error )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.