-
Hello, for newer version (mine is go 1.20.2) of go, go get does not work anymore. And... I am struggling, since it seems (at least with a newbie like me) that it cannot find @latest. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What do you mean by "doesnt work"? Since youre using a newer version of go, I assume you are relying on go modules. Make sure you have a go.mod file. After that you can run Let us know how it goes. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
What do you mean by "doesnt work"?
Since youre using a newer version of go, I assume you are relying on go modules. Make sure you have a go.mod file.
if not you need to run
go mod init <package-name>
After that you can run
go get github.com/aws/aws-sdk-go-v2@latest
andgo mod tidy
and the imports should work.Let us know how it goes.
Thanks,
Ran~