mailgun/mailgun-go

Fails to get the dependency without using go mod

Opened this issue · 1 comments

vendor/github.com/mailgun/mailgun-go/events.go:161:42: cannot use &ei.Response (type *events.Response) as type easyjson.Unmarshaler in argument to easyjson.Unmarshal:
	*events.Response does not implement easyjson.Unmarshaler (wrong type for UnmarshalEasyJSON method)
		have UnmarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jlexer".Lexer)
		want UnmarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jlexer".Lexer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:50:20: cannot use accepted (type *events.Accepted) as type Event in append:
	*events.Accepted does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:67:20: cannot use accepted (type *events.Accepted) as type Event in append:
	*events.Accepted does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:86:20: cannot use delivered (type *events.Delivered) as type Event in append:
	*events.Delivered does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:105:20: cannot use delivered (type *events.Delivered) as type Event in append:
	*events.Delivered does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:114:20: cannot use stored (type *events.Stored) as type Event in append:
	*events.Stored does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:127:21: cannot use clicked (type *events.Clicked) as type Event in append:
	*events.Clicked does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:139:20: cannot use clicked (type *events.Clicked) as type Event in append:
	*events.Clicked does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:152:21: cannot use opened (type *events.Opened) as type Event in append:
	*events.Opened does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:164:20: cannot use opened (type *events.Opened) as type Event in append:
	*events.Opened does not implement Event (wrong type for MarshalEasyJSON method)
		have MarshalEasyJSON(*"github.com/mailgun/mailgun-go/vendor/github.com/mailru/easyjson/jwriter".Writer)
		want MarshalEasyJSON(*"github.com/sggms/export-service/vendor/github.com/mailru/easyjson/jwriter".Writer)
vendor/github.com/mailgun/mailgun-go/mock_events.go:164:20: too many errors

Please use go mod to correctly fetch dependencies, using non go mod dependency tools is not supported in v3.