Documentation
¶
Index ¶
- Constants
- func Cell(col interface{}, row int) (cell string)
- func ConvertDate(d string) string
- func SetWidth(book *excelize.File, sheet string, widthes map[string]float64)
- func Write(book *excelize.File, sheet string, axis string, data util.Dater)
- func WriteData(book *excelize.File, sheet string, axis string, data util.Dater, header string, ...)
- type File
- type Reader
- type WorkSheet
Constants ¶
View Source
const TableFormat = `` /* 139-byte string literal not displayed */
TableFormat 单位元样式
Variables ¶
This section is empty.
Functions ¶
func ConvertDate ¶
ConvertDate 转换日期,把 05-16-20 格式的日期转换成 2020-05-16 格式,无法转换则返回原数据
Types ¶
type Reader ¶
Reader Excel
func NewRowReader ¶
func NewRowReader(xls *excelize.File, sheet string, skip int, converters ...text.ConvertFunc) *Reader
NewRowReader 工作表构造函数
func NewXlsReader ¶
NewXlsReader Excel Reader 构造函数
Click to show internal directories.
Click to hide internal directories.