OneSignal / onesignal-go-api

The official OneSignal API client for Go
MIT License
11 stars 7 forks source link

The module name does not match the repo name #5

Closed akeemphilbert closed 2 years ago

akeemphilbert commented 2 years ago

The module name is onesignal-go-client in the go.mod but the repo name is onesignal-go-api. This causes an error

github.com/OneSignal/onesignal-go-api@v1.0.0: parsing go.mod:
        module declares its path as: github.com/OneSignal/onesignal-go-client
                but was required as: github.com/OneSignal/onesignal-go-api

I was able to get it installed by doing go get github.com/OneSignal/onesignal-go-client. I'm guessing the repo was renamed. If this was intentional then update the instructions here - https://onesignal.com/blog/our-go-client-sdk-is-now-available/

rgomezp commented 2 years ago

Howdy @akeemphilbert ! You are exactly right. Thanks for pointing this out. We will get it fixed asap.

rgomezp commented 2 years ago

This is now resolved. Thanks