os/user package can not cross compile.
Opened this issue · 2 comments
Deleted user commented
os/user package need cgo support, buf if enable cgo, we can not cross compile.
So, i use "github.com/mitchellh/go-homedir", replace the os/user package
in file spawn_process.go, function SetBaseDirectory(dir string) error {...}
Thanks.
miketheprogrammer commented
Please create a pull request
miketheprogrammer commented
We need to replace os/user with go-homedir