Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
func Parse(appCtx appcontext.AppContext, xlsxDataSheets []XlsxDataSheetInfo, params ParamConfig) error
Parse parses the XLSX file
Types ¶
type ParamConfig ¶
type ParamConfig struct { ProcessAll bool ShowOutput bool XlsxFilename string XlsxSheets []string SaveToFile bool RunTime time.Time XlsxFile *xlsx.File RunVerify bool RunImport bool UseTempTables bool DropIfExists bool }
ParamConfig config for the transit time parser program
type XlsxDataSheetInfo ¶
type XlsxDataSheetInfo struct { Description *string ProcessMethods []xlsxProcessInfo // contains filtered or unexported fields }
XlsxDataSheetInfo describes the excel sheet info
func InitDataSheetInfo ¶
func InitDataSheetInfo() []XlsxDataSheetInfo
InitDataSheetInfo : When adding new functions for parsing sheets, must add new XlsxDataSheetInfo defining the parse function
The index MUST match the sheet that is being processed. Refer to file comments or XLSX to determine the correct index to add.
Click to show internal directories.
Click to hide internal directories.