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 will parsh xlsx data sheet info
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 ContractCode string ContractName string ContractStartDate string }
ParamConfig is the parameter conifguration
type XlsxDataSheetInfo ¶
type XlsxDataSheetInfo struct { Description *string ProcessMethods []xlsxProcessInfo // contains filtered or unexported fields }
XlsxDataSheetInfo is the xlsx data 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.
Source Files ¶
- domestic_linehaul_types.go
- parse.go
- parse_access_and_add_prices.go
- parse_domestic_linehaul_prices.go
- parse_domestic_other_prices.go
- parse_domestic_service_area_prices.go
- parse_international_prices.go
- parse_management_counseling_transition_prices.go
- parse_nonstandard_location_prices.go
- parse_other_intl_prices.go
- parse_price_escalation_discount.go
- parse_service_areas.go
- shared.go
Click to show internal directories.
Click to hide internal directories.