Closed hexdigest closed 2 years ago
Hey. thank for your issue.
for now you can use go get -v github.com/portto/solana-go-sdk@v1.8.1
first.
I will tag a new version (2.0.0) later!!!
@yihau It doesn't work. v1.8.1 DOES NOT contain the "rpc" subpackage at all. Try to check out the v1.8.1 tag. So examples from the readme don't work either.
I think you are running latest examples in v1.8.1 sdk.
the one of difference between latest version and v1.8.1 is that I move
github.com/portto/solana-go-sdk/client/rpc
=> github.com/portto/solana-go-sdk/rpc
so you can't find the module.
sorry for the inconvenience, I tag new version ASAP.
hi there. I've released v2.0.0. Thank you for your patience.
Thank you @yihau !
Am I doing something wrong ?
EDIT:
Using go get -u github.com/portto/solana-go-sdk@14acd5b
it worked
@fipso sorry. that's my fault. I don't noticed the upgrading version rules in go mod. Although it don't follow semantic versioning, I've released v1.9.0 as the solution.
you can use go get -u github.com/portto/solana-go-sdk@v1.9.0
to fetch the latest version sdk.
main.go:9:2: module github.com/portto/solana-go-sdk@latest found (v1.8.1), but does not contain package github.com/portto/solana-go-sdk/rpc
The reason is that the code under the v1.8.1 tag doesn't contain rpc package. Can you please create a new tag?