N
Novu•3mo ago
Lev Lazinskiy

Getting Started with Go Stumble

Hey team, I am checking out the Go SDK and out of the gate running into an issue. The docs say to go get github.com/novuhq/go-novu but then we import novu "github.com/novuhq/go-novu/lib" -- it complains that I need to actually go get github.com/novuhq/go-novu/lib -- am I doing something silly or is this a docs problem? https://docs.novu.co/quickstarts/go
Novu
Go - Novu
Learn how to use Novu to quickly send multi-channel (SMS, Email, Chat, Push) notifications with Go.
6 Replies
project_kmac
project_kmac•3mo ago
@Lev Lazinskiy , thanks for trying Novu. Usually when we see this, it has to do with your Go environment configuration. Can you please check the GOPATH and GO111MODULE environment variables, to ensure they are correctly set up? (i.e. If you have GO111MODULE set to off, it might be causing problems with module resolution)
Lev Lazinskiy
Lev Lazinskiy•3mo ago
Thanks for your help, I think its all clear now, def somethign on my end I have a new issue 👼 -- I think this one is real. The docs show you how to do a retry config RetryConfig: https://docs.novu.co/quickstarts/go#configure-retry But this feature does not exsit in the latest version of the go SDK. I see it on the main branch but not in the released version. https://github.com/novuhq/go-novu/blob/v0.1.2/lib/novu.go#L20-> does not exsit https://github.com/novuhq/go-novu/blob/master/lib/novu.go#L31 -> exists
project_kmac
project_kmac•3mo ago
I'll wait for someone who knows more to chime in on this one xD
Lev Lazinskiy
Lev Lazinskiy•3mo ago
I appreciate you, thanks!
Pawan Jain
Pawan Jain•3mo ago
cc:- @unicodeveloper
Prosper
Prosper•3mo ago
Ah yes, we need to release a new version of the go SDK Will keep you in the loop once that happens @Lev Lazinskiy
Want results from more Discord servers?
Add your server
More Posts