MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / GetDistance

Method GetDistance

shared/proto/trip/trip.pb.go:286–291  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284}
285
286func (x *Route) GetDistance() float64 {
287 if x != nil {
288 return x.Distance
289 }
290 return 0
291}
292
293func (x *Route) GetDuration() float64 {
294 if x != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected