go-thrust icon indicating copy to clipboard operation
go-thrust copied to clipboard

os/user package can not cross compile.

Open ghost opened this issue 9 years ago • 2 comments

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.

ghost avatar Aug 10 '15 02:08 ghost

Please create a pull request

miketheprogrammer avatar Aug 10 '15 22:08 miketheprogrammer

We need to replace os/user with go-homedir

miketheprogrammer avatar Feb 10 '16 16:02 miketheprogrammer