sger / go-apns2

Go package for HTTP/2 Apple Push Notification Service.
MIT License
54 stars 7 forks source link

Issue when installing package #1

Closed bachvtuan closed 8 years ago

bachvtuan commented 8 years ago

This get this error

sger/go-apns2/client.go:31: undefined: http2.ConfigureTransport

when I was installing your packge. I'm using version 1.6.

sger commented 8 years ago

@bachvtuan make sure you have this package golang.org/x/net/http2 and of course Go 1.6

bachvtuan commented 8 years ago

I have already installed the package golang.org/x/net/http2. I found the reason now. It's out of date so I removed it then install again. Next I install your package perfectly.

sger commented 8 years ago

@bachvtuan cool

PravinRanjan10 commented 2 years ago

You may clean and then install again: go clean golang.org/x/net/http2 go get golang.org/x/net/http2