Documentation ¶
Index ¶
- type FileData
- func (fd *FileData) AddRow(cells ...interface{})
- func (fd *FileData) AddRowInSheet(sheetname string, cells ...interface{})
- func (fd *FileData) AddSheet(sheetname string) (*xlsx.Sheet, error)
- func (fd *FileData) Save() (string, error)
- func (fd *FileData) SetColume(columeName ...string)
- func (fd *FileData) Write(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileData ¶
type FileData struct {
// contains filtered or unexported fields
}
FileData Excel文件结构
func NewExcelFromBinary ¶
NewExcelFromBinary 从文件读取xlsx
func (*FileData) AddRow ¶
func (fd *FileData) AddRow(cells ...interface{})
AddRow 在当前sheet添加行 cells: 每个单元格的数据,任意格式
func (*FileData) AddRowInSheet ¶
AddRowInSheet 在指定sheet添加行 cells: 每个单元格的数据,任意格式
Click to show internal directories.
Click to hide internal directories.