impl stubbed out scrape and push
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user