Skip to content

go get does not work anymore #2131

Answered by RanVaknin
Zolletta asked this question in Q&A
Discussion options

You must be logged in to vote

for newer version (mine is go 1.20.2) of go, go get does not work anymore.

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 and go mod tidy and the imports should work.

Let us know how it goes.

Thanks,
Ran~

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RanVaknin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
2 participants