vendor: update all dependencies to latest versions
This commit is contained in:
+3
-3
@@ -109,8 +109,8 @@ type SearchResponse struct {
|
||||
}
|
||||
|
||||
func (s *SearchResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SearchResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SearchResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ func (c *EntitiesSearchCall) Do(opts ...googleapi.CallOption) (*SearchResponse,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
||||
Reference in New Issue
Block a user