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

@@ -10,6 +10,7 @@ type Job struct {
Pickup JobLocation
Dropoff JobLocation
Weight int
Miles int
Meta string
}
@@ -21,9 +22,10 @@ type JobLocation struct {
func (j Job) String() string {
return fmt.Sprintf(
`%s => %s, Weight:%d, Notes:%s`,
`%s => %s (%d miles), Weight:%d, Notes:%s`,
j.Pickup.String(),
j.Dropoff.String(),
j.Miles,
j.Weight,
j.Meta,
)