vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2018-01-16 13:20:59 +00:00
parent 8e83fb6fb9
commit 7d3a17725d
4878 changed files with 1974213 additions and 201199 deletions
+30 -30
View File
@@ -101,8 +101,8 @@ type Context struct {
}
func (s *Context) MarshalJSON() ([]byte, error) {
type noMethod Context
raw := noMethod(*s)
type NoMethod Context
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -131,8 +131,8 @@ type ContextFacetsItem struct {
}
func (s *ContextFacetsItem) MarshalJSON() ([]byte, error) {
type noMethod ContextFacetsItem
raw := noMethod(*s)
type NoMethod ContextFacetsItem
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -167,8 +167,8 @@ type Promotion struct {
}
func (s *Promotion) MarshalJSON() ([]byte, error) {
type noMethod Promotion
raw := noMethod(*s)
type NoMethod Promotion
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -199,8 +199,8 @@ type PromotionBodyLines struct {
}
func (s *PromotionBodyLines) MarshalJSON() ([]byte, error) {
type noMethod PromotionBodyLines
raw := noMethod(*s)
type NoMethod PromotionBodyLines
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -229,8 +229,8 @@ type PromotionImage struct {
}
func (s *PromotionImage) MarshalJSON() ([]byte, error) {
type noMethod PromotionImage
raw := noMethod(*s)
type NoMethod PromotionImage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -325,8 +325,8 @@ type Query struct {
}
func (s *Query) MarshalJSON() ([]byte, error) {
type noMethod Query
raw := noMethod(*s)
type NoMethod Query
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -379,8 +379,8 @@ type Result struct {
}
func (s *Result) MarshalJSON() ([]byte, error) {
type noMethod Result
raw := noMethod(*s)
type NoMethod Result
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -417,8 +417,8 @@ type ResultImage struct {
}
func (s *ResultImage) MarshalJSON() ([]byte, error) {
type noMethod ResultImage
raw := noMethod(*s)
type NoMethod ResultImage
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -447,8 +447,8 @@ type ResultLabels struct {
}
func (s *ResultLabels) MarshalJSON() ([]byte, error) {
type noMethod ResultLabels
raw := noMethod(*s)
type NoMethod ResultLabels
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -491,8 +491,8 @@ type Search struct {
}
func (s *Search) MarshalJSON() ([]byte, error) {
type noMethod Search
raw := noMethod(*s)
type NoMethod Search
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -524,18 +524,18 @@ type SearchSearchInformation struct {
}
func (s *SearchSearchInformation) MarshalJSON() ([]byte, error) {
type noMethod SearchSearchInformation
raw := noMethod(*s)
type NoMethod SearchSearchInformation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *SearchSearchInformation) UnmarshalJSON(data []byte) error {
type noMethod SearchSearchInformation
type NoMethod SearchSearchInformation
var s1 struct {
SearchTime gensupport.JSONFloat64 `json:"searchTime"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@@ -567,8 +567,8 @@ type SearchSpelling struct {
}
func (s *SearchSpelling) MarshalJSON() ([]byte, error) {
type noMethod SearchSpelling
raw := noMethod(*s)
type NoMethod SearchSpelling
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -595,8 +595,8 @@ type SearchUrl struct {
}
func (s *SearchUrl) MarshalJSON() ([]byte, error) {
type noMethod SearchUrl
raw := noMethod(*s)
type NoMethod SearchUrl
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@@ -1007,7 +1007,7 @@ func (c *CseListCall) Do(opts ...googleapi.CallOption) (*Search, error) {
},
}
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