osutil icon indicating copy to clipboard operation
osutil copied to clipboard

Go library to easily detect current operating system, current Linux distribution, macOS version and more...

Results 5 osutil issues
Sort by recently updated
recently updated
newest added

``` package main import ( "fmt" "github.com/wille/osutil" ) func main() { fmt.Println(osutil.GetDisplay()) } ``` panic: runtime error: index out of range [1] with length 1 > goroutine 1 [running]: >...

bug

Please specify license of this code. Lack of the license prevents me from using it and potentially contributing back to it.

The library fails to properly recognize [openSUSE 15.3](https://get.opensuse.org/leap/#download) `osutil.GetDisplay()` expected: `openSUSE` actual: `Linux` `distro := osutil.GetDist()` expected: `distro.Display` to be `openSUSE` actual: `distro.Display` is empty expected: `distro.Codename` to be `Leap`...

Hi. What License is this released under?

Linux doesn't implement GetVersion()

enhancement