Update dependenciess

Exclude minio-go for now (pin to 3.x.y).
This commit is contained in:
Alexander Neumann 2017-12-03 21:01:25 +01:00
parent 9d0f13c4c0
commit 946c8399e2
2985 changed files with 1008107 additions and 118934 deletions

View file

@ -134,8 +134,8 @@ type AnalyzeEntitiesRequest struct {
}
func (s *AnalyzeEntitiesRequest) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeEntitiesRequest
raw := noMethod(*s)
type NoMethod AnalyzeEntitiesRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -173,8 +173,8 @@ type AnalyzeEntitiesResponse struct {
}
func (s *AnalyzeEntitiesResponse) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeEntitiesResponse
raw := noMethod(*s)
type NoMethod AnalyzeEntitiesResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -226,8 +226,8 @@ type AnalyzeSentimentRequest struct {
}
func (s *AnalyzeSentimentRequest) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeSentimentRequest
raw := noMethod(*s)
type NoMethod AnalyzeSentimentRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -269,8 +269,8 @@ type AnalyzeSentimentResponse struct {
}
func (s *AnalyzeSentimentResponse) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeSentimentResponse
raw := noMethod(*s)
type NoMethod AnalyzeSentimentResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -320,8 +320,8 @@ type AnalyzeSyntaxRequest struct {
}
func (s *AnalyzeSyntaxRequest) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeSyntaxRequest
raw := noMethod(*s)
type NoMethod AnalyzeSyntaxRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -363,8 +363,8 @@ type AnalyzeSyntaxResponse struct {
}
func (s *AnalyzeSyntaxResponse) MarshalJSON() ([]byte, error) {
type noMethod AnalyzeSyntaxResponse
raw := noMethod(*s)
type NoMethod AnalyzeSyntaxResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -419,8 +419,8 @@ type AnnotateTextRequest struct {
}
func (s *AnnotateTextRequest) MarshalJSON() ([]byte, error) {
type noMethod AnnotateTextRequest
raw := noMethod(*s)
type NoMethod AnnotateTextRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -481,8 +481,8 @@ type AnnotateTextResponse struct {
}
func (s *AnnotateTextResponse) MarshalJSON() ([]byte, error) {
type noMethod AnnotateTextResponse
raw := noMethod(*s)
type NoMethod AnnotateTextResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -609,8 +609,8 @@ type DependencyEdge struct {
}
func (s *DependencyEdge) MarshalJSON() ([]byte, error) {
type noMethod DependencyEdge
raw := noMethod(*s)
type NoMethod DependencyEdge
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -674,8 +674,8 @@ type Document struct {
}
func (s *Document) MarshalJSON() ([]byte, error) {
type noMethod Document
raw := noMethod(*s)
type NoMethod Document
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -744,18 +744,18 @@ type Entity struct {
}
func (s *Entity) MarshalJSON() ([]byte, error) {
type noMethod Entity
raw := noMethod(*s)
type NoMethod Entity
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *Entity) UnmarshalJSON(data []byte) error {
type noMethod Entity
type NoMethod Entity
var s1 struct {
Salience gensupport.JSONFloat64 `json:"salience"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -796,8 +796,8 @@ type EntityMention struct {
}
func (s *EntityMention) MarshalJSON() ([]byte, error) {
type noMethod EntityMention
raw := noMethod(*s)
type NoMethod EntityMention
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -835,8 +835,8 @@ type Features struct {
}
func (s *Features) MarshalJSON() ([]byte, error) {
type noMethod Features
raw := noMethod(*s)
type NoMethod Features
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1014,8 +1014,8 @@ type PartOfSpeech struct {
}
func (s *PartOfSpeech) MarshalJSON() ([]byte, error) {
type noMethod PartOfSpeech
raw := noMethod(*s)
type NoMethod PartOfSpeech
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1049,8 +1049,8 @@ type Sentence struct {
}
func (s *Sentence) MarshalJSON() ([]byte, error) {
type noMethod Sentence
raw := noMethod(*s)
type NoMethod Sentence
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1094,20 +1094,20 @@ type Sentiment struct {
}
func (s *Sentiment) MarshalJSON() ([]byte, error) {
type noMethod Sentiment
raw := noMethod(*s)
type NoMethod Sentiment
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
func (s *Sentiment) UnmarshalJSON(data []byte) error {
type noMethod Sentiment
type NoMethod Sentiment
var s1 struct {
Magnitude gensupport.JSONFloat64 `json:"magnitude"`
Polarity gensupport.JSONFloat64 `json:"polarity"`
Score gensupport.JSONFloat64 `json:"score"`
*noMethod
*NoMethod
}
s1.noMethod = (*noMethod)(s)
s1.NoMethod = (*NoMethod)(s)
if err := json.Unmarshal(data, &s1); err != nil {
return err
}
@ -1231,8 +1231,8 @@ type Status struct {
}
func (s *Status) MarshalJSON() ([]byte, error) {
type noMethod Status
raw := noMethod(*s)
type NoMethod Status
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1264,8 +1264,8 @@ type TextSpan struct {
}
func (s *TextSpan) MarshalJSON() ([]byte, error) {
type noMethod TextSpan
raw := noMethod(*s)
type NoMethod TextSpan
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1303,8 +1303,8 @@ type Token struct {
}
func (s *Token) MarshalJSON() ([]byte, error) {
type noMethod Token
raw := noMethod(*s)
type NoMethod Token
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
@ -1407,7 +1407,7 @@ func (c *DocumentsAnalyzeEntitiesCall) Do(opts ...googleapi.CallOption) (*Analyz
},
}
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
@ -1528,7 +1528,7 @@ func (c *DocumentsAnalyzeSentimentCall) Do(opts ...googleapi.CallOption) (*Analy
},
}
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
@ -1653,7 +1653,7 @@ func (c *DocumentsAnalyzeSyntaxCall) Do(opts ...googleapi.CallOption) (*AnalyzeS
},
}
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
@ -1776,7 +1776,7 @@ func (c *DocumentsAnnotateTextCall) Do(opts ...googleapi.CallOption) (*AnnotateT
},
}
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