devshell icon indicating copy to clipboard operation
devshell copied to clipboard

go: add GOPATH option

Open WolfangAukang opened this issue 4 months ago • 1 comments

Needed to add this option because on the workplace I have to create a separate path for my Go directory.

I am using null as default value here because as GOPATH must be an absolute path (it complains it if is relative), using $HOME/go as a default value is not a good idea.

WolfangAukang avatar Feb 22 '24 14:02 WolfangAukang

@zimbatm before pushing my changes and regarding your review, I believe the type for this option should be types.either types.path types.str right? If I leave it only as types.path with $HOME/go as default value, the builds for the PR will fail.

WolfangAukang avatar Feb 26 '24 13:02 WolfangAukang