mitchellh/go-homedir

Does this work on plan9?

ncw opened this issue · 3 comments

ncw commented

I'd like to use this library as one of my users has run into the OSX issue mentioned in the README.

I currently build plan9 binaries - is it likely to work there?

Thanks

Nick

This thread is a little old, but I'd point out

go-homedir/homedir.go

Lines 40 to 45 in df55a15

if runtime.GOOS == "windows" {
result, err = dirWindows()
} else {
// Unix-like system, so just assume Unix
result, err = dirUnix()
}
, and that the answer is probably that yes, this should work pretty well on plan9. 😄

ncw commented

@tianon thanks!

Closing since this seems answered :)