Versions in this module Expand all Collapse all v1 v1.0.3 Aug 14, 2023 Changes in this version + func ProcessRows(rows [][]string) bool v1.0.2 Aug 11, 2023 v1.0.1 Aug 10, 2023 v1.0.0 Aug 10, 2023 Changes in this version + var UserParameters = QueryParameters + var UtilCodes = map[string]string + func GetUtilByCode(code string) string + func InitializeDatabase() + func InsertMargin(entries []MatrixEntry, mils float32) + func LoadParameters(newParameters QueryParameters) + func PrintParameters() + func ProcessRow(row []string) bool + func ReInitializeDatabase() + func SetDualBilling(dualBilling bool) + func SetFilePath(filePath string) + func SetMils(mils float32) + func SetStartDate(startDate string) + func SetTerms(terms []int) + func SetUtil(util string) + type MatrixEntry struct + BillingMethod string + ContractStart string + Id int + ProductOption string + RateCode string + State string + Term int + UsageLower float32 + UsageMiddle float32 + UsageUpper float32 + Util string + Zone string + func GetFilteredEntries() []MatrixEntry + func (v *MatrixEntry) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MatrixEntry) UnmarshalJSON(data []byte) error + func (v MatrixEntry) MarshalEasyJSON(w *jwriter.Writer) + func (v MatrixEntry) MarshalJSON() ([]byte, error) + type QueryParameters struct + DualBilling bool + FilePath string + Mils float32 + StartDate string + Terms []int + Util string + func ReadJson() QueryParameters + func (v *QueryParameters) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *QueryParameters) UnmarshalJSON(data []byte) error + func (v QueryParameters) MarshalEasyJSON(w *jwriter.Writer) + func (v QueryParameters) MarshalJSON() ([]byte, error)