Documentation ¶
Index ¶
- func GetCellName(col, row int) string
- func GetRows[T any](file *excelize.File, records *[]T) error
- func GetRowsBySheetIndex[T any](file *excelize.File, index int, records *[]T) error
- func GetRowsBySheetName[T any](file *excelize.File, sheet string, records *[]T) error
- func GetRowsFromFile[T any](filepath string, records *[]T) error
- func GetRowsFromFileBySheetIndex[T any](filepath string, index int, records *[]T) error
- func GetRowsFromFileBySheetName[T any](filepath string, sheet string, records *[]T) error
- func GetRowsFromMultipart[T any](file *multipart.FileHeader, records *[]T) error
- func GetRowsFromMultipartBySheetIndex[T any](file *multipart.FileHeader, index int, records *[]T) error
- func GetRowsFromMultipartBySheetName[T any](file *multipart.FileHeader, sheet string, records *[]T) error
- func GetRowsFromReader[T any](filepath string, records *[]T) error
- func GetRowsFromReaderBySheetIndex[T any](r io.Reader, index int, records *[]T) error
- func GetRowsFromReaderBySheetName[T any](r io.Reader, sheet string, records *[]T) error
- func NewFile[T any](records *[]T) (*excelize.File, error)
- func NewFileWithSheetName[T any](sheetName string, records *[]T) (*excelize.File, error)
- func WriteCellValue(f *excelize.File, sheet string, col, row int, value interface{}) error
- type TimeConvert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCellName ¶
func GetRowsBySheetIndex ¶
func GetRowsBySheetName ¶
func GetRowsFromFile ¶
func GetRowsFromMultipart ¶
func GetRowsFromMultipart[T any](file *multipart.FileHeader, records *[]T) error
func GetRowsFromMultipartBySheetIndex ¶
func GetRowsFromMultipartBySheetIndex[T any](file *multipart.FileHeader, index int, records *[]T) error
func GetRowsFromMultipartBySheetName ¶
func GetRowsFromMultipartBySheetName[T any](file *multipart.FileHeader, sheet string, records *[]T) error
func GetRowsFromReader ¶
func NewFileWithSheetName ¶
func WriteCellValue ¶
Types ¶
type TimeConvert ¶
type TimeConvert struct{}
func (*TimeConvert) SupportType ¶
func (d *TimeConvert) SupportType() reflect.Type
Click to show internal directories.
Click to hide internal directories.