|
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 |
Replies: 3 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, |
|
Hello! Reopening this discussion to make it searchable. |
|
Also experiencing this on ec2 t3.micro. stuck forever and eventually crashes ec2: |
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@latestandgo mod tidyand the imports should work.Let us know how it goes.
Thanks,
Ran~