4 ms·
One reason I think that folks think they need to do this is because it's not very publicized AND most Go developers would come from a Unix background not a Wind
by slimsag 10y ago
One reason I think that folks think they need to do this is because it's not very publicized AND most Go developers would come from a Unix background not a Windows one.
Also, I've recently discovered Go has a lot of trouble with case sensitivity in filepaths. i.e. people tend to compare filepath strings directly instead of taking into account case sensitivity. The `path/filepath` package has a `HasPrefix` function which has been deprecated for 4 years for this exact reason[1], but in my experience it is still widely used (even in some newer semi-official Go projects like the dependency management tool[2])
[1] https://github.com/golang/go/issues/18358 https://github.com/golang/go/issues/18358
[2] https://github.com/golang/dep/issues/296 https://github.com/golang/dep/issues/296