Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: sendgrid #15

Closed
k0fi opened this issue Sep 27, 2016 · 2 comments
Closed

undefined: sendgrid #15

k0fi opened this issue Sep 27, 2016 · 2 comments

Comments

@k0fi
Copy link

k0fi commented Sep 27, 2016

Hi,
I get this error at go get:

go get -u github.com/kennygrant/gohackernews
# github.com/kennygrant/gohackernews/src/lib/mail
../github.com/kennygrant/gohackernews/src/lib/mail/mail.go:35: undefined: sendgrid.NewSendGridClientWithApiKey
../github.com/kennygrant/gohackernews/src/lib/mail/mail.go:37: undefined: sendgrid.NewMail

And at build also:

me@pc:~/go/src/github.com/kennygrant/gohackernews$ go build
# github.com/kennygrant/gohackernews/src/lib/mail
src/lib/mail/mail.go:35: undefined: sendgrid.NewSendGridClientWithApiKey
src/lib/mail/mail.go:37: undefined: sendgrid.NewMail

How to fix these?
Thanks

@kennygrant
Copy link
Owner

Sorry for the late reply. I'll look into it to see, sounds like an older version of the sendgrid library was linked and it has been updated (I know they changed their API recently).

@kennygrant
Copy link
Owner

Yep, looks like they broke their API:

sendgrid/sendgrid-go#81

I'll fix on this end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants