Okta-sdk-golang v2

I’m currently using the okta-sdk-golang v1 and needed to move to v2. Following the instruction in the GitHub Readme, I ran the command:

go get github.com/okta/okta-sdk-golang/okta.v2

This generates the following:

go get github.com/okta/okta-sdk-golang/okta.v2: module github.com/okta/okta-sdk-golang@upgrade found (v1.1.0), but does not contain package github.com/okta/okta-sdk-golang/okta.v2

I’m using go v1.14.2 using modules, but not sure what might be the problem. Any ideas?

1 Like