Documentation
¶
Index ¶
Constants ¶
View Source
const ( MetaDataRow = "_row" MetaDataExt = "_ext" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// SheetName is set to Sheet1 by default, which means that the first table is processed
SheetName string
// NoHeader is set to false by default, which means that the first row is used as the table header
NoHeader bool
// IDPrefix is set to customize the prefix of document ID, default 1,2,3, ...
IDPrefix string
}
Config Used to configure xlsxParser
type XlsxParser ¶
type XlsxParser struct {
Config *Config
}
XlsxParser Custom parser for parsing Xlsx file content Can be used to work with Xlsx files with headers or without headers You can also select a specific table from the xlsx file in multiple sheet tables You can also customize the prefix of the document ID
Click to show internal directories.
Click to hide internal directories.