You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if you can avoid the creation of a directory completely. You can choose to have the location elsewhere, but a directory will be created nonetheless.
You'll have to set the environment variable GOPATH to where you would like to store it, like /home/rasmus/trash/go. Here are some instructions for common shells https://github.com/golang/go/wiki/SettingGOPATH.
I will take a look at other packages how they do it and see if there's a way to avoid the creation of unnecessary directories :)
Installing/updating via the AUR package seems to create the directory
$HOME/go
. Isn't there any way to avoid creating a new directory in$HOME
?The text was updated successfully, but these errors were encountered: