An open API service indexing awesome lists of open source software.

https://github.com/msaf1980/go-uname

Golang wrapper for uname syscall
https://github.com/msaf1980/go-uname

golang uname

Last synced: about 2 months ago
JSON representation

Golang wrapper for uname syscall

Awesome Lists containing this project

README

        

# go-uname

Wrapper for syscall uname

```
import (
uname "github.com/msaf1980/go-uname"
)

..

u, err := uname.New()
if err == nil {
machine := u.Machine()
sysname := u.Sysname()
nodename := u.Nodename()
kernelVersion := u.KernelVersion()
kernelRelease := u.KernelRelease()
}
```