I am trying to download the Go AWS SDK but I don’t have much space in my root.
I have mounted another device (/mnt/device2/) where I have 15 GB space available.
When I run the command go get -u github.com/aws/aws-sdk-go/...
I get the error
go build github.com/aws/aws-sdk-go/service/macie2: mkdir
/tmp/go-build3967698646/b570/: no space left on device
I want to change the default download directory from /tmp/
to /mnt/device2/
.
Is it possible to do so?