Skip to content

msaf1980/go-uname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
  }

About

Golang wrapper for uname syscall

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages