tbalthazar / onesignal-go

Go client for the OneSignal API
GNU General Public License v3.0
30 stars 39 forks source link

Post https://onesignal.com/api/v1//notifications: http.DefaultTransport and http.DefaultClient are not available in App Engine #4

Open farsana-pb opened 7 years ago

farsana-pb commented 7 years ago

Hi, I am getting an error Post https://onesignal.com/api/v1//notifications: http.DefaultTransport and http.DefaultClient are not available in App Engine. Is there any way to solve this?

CraigChilds94 commented 7 years ago

@farsana-pb You can pass your own http.Client{} to the onesignal.NewClient() function call, this should be a work around?