Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArchitecture ¶
func GetArchitecture() string
GetArchitecture: it returns the result from `uname -m`
func GetKernel ¶ added in v0.0.6
func GetKernel() string
GetKernel: get the kernel version from uname
func GetTerminalSize ¶
GetTerminalSize: it returns the current terminal size
func GetUptimeFromShell ¶
func GetUptimeFromShell() string
GetUptimeFromShell: it uses command `uptime` and return the result
func GetUsername ¶
func GetUsername() string
GetUsername: it returns the username from whom is running the program
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.