Versions in this module Expand all Collapse all v1 v1.0.0 Dec 6, 2026 Changes in this version + type FuelSurchargeResult struct + BasePegPerGal float64 + DieselPricePerGal float64 + FSCPerMile float64 + FleetMPG float64 + Miles float64 + TotalFSC float64 + func CalculateFuelSurcharge(dieselPerGal, basePeg, mpg, miles float64) (FuelSurchargeResult, error) + type LTLDensityResult struct + ClassDelta2025 float64 + DensityPCF float64 + NMFCDocket2025Class float64 + OverhangReclassRisk bool + Standard18TierClass float64 + TotalCubicFeet float64 + TotalWeightLbs float64 + func ClassifyLTLDensity(weightLbs, lengthIn, widthIn, heightIn float64, handlingUnits int) (LTLDensityResult, error) + type LaneEconomicsInput struct + CostPerMile float64 + CustomerCharge float64 + DeadheadMiles float64 + DetentionHours float64 + DetentionRate float64 + FSCRevenue float64 + LinehaulRevenue float64 + LoadedMiles float64 + type LaneEconomicsResult struct + BrokerMarginPct float64 + BrokerMarginUSD float64 + DeadheadPct float64 + NetContribution float64 + OperatingRatioPct float64 + RevenuePerLoadedMile float64 + RevenuePerTotalMile float64 + TotalCost float64 + TotalMiles float64 + TotalRevenue float64 + func CalculateLaneEconomics(in LaneEconomicsInput) (LaneEconomicsResult, error)