impl stubbed out scrape and push

This commit is contained in:
Bel LaPointe
2022-01-09 22:28:03 -05:00
parent ad9af0a5db
commit 37c66244df
9 changed files with 453 additions and 19 deletions

View File

@@ -23,6 +23,7 @@ type ntgVisionJob struct {
DropoffDate string `json:"cDate"`
DropoffCity string `json:"cCity"`
DropoffState string `json:"cState"`
Miles int `json:"miles"`
Weight int `json:"weight"`
Equipment string `json:"equip"`
Temp string `json:"temp"`
@@ -43,6 +44,7 @@ func (ntgJob ntgVisionJob) Job() Job {
City: ntgJob.DropoffCity,
State: ntgJob.DropoffState,
},
Miles: ntgJob.Miles,
Weight: ntgJob.Weight,
Meta: fmt.Sprintf("equipment:%s", ntgJob.Equipment),
}