miketheprogrammer / go-thrust

Cross Platform UI Kit powered by Blink/V8/Chromium Content Lib
MIT License
445 stars 34 forks source link

os/user package can not cross compile. #59

Open ghost opened 9 years ago

ghost commented 9 years ago

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 9 years ago

Please create a pull request

miketheprogrammer commented 8 years ago

We need to replace os/user with go-homedir