Skip to content
master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.

README.md

osutil

Travis GoDoc Go Report Card

Go library to detect operating system version

Usage

import "github.com/wille/osutil"

// macOS, Windows, Linux, FreeBSD...
osutil.Name

// macOS: 10.17, 10.16...
// Windows: 10, 8.1, Vista...
//
osutil.GetVersion()

// Returns nicely formatted string
// Windows 10, macOS 10.17 Sierra
osutil.GetDisplay()

About

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

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.