*: go vet

This commit is contained in:
Tamir Duberstein
2016-07-27 10:49:12 -04:00
parent 220b464e81
commit ac90a026b6
7 changed files with 17 additions and 13 deletions

View File

@ -79,7 +79,7 @@ func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.Point) (*pb
}
}
// No feature was found, return an unnamed feature
return &pb.Feature{"", point}, nil
return &pb.Feature{Location: point}, nil
}
// ListFeatures lists all features contained within the given bounding Rectangle.