system

package
Version: v0.0.0-...-8c278e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearScreen

func ClearScreen()

func QuitApp

func QuitApp()

func RunCmd

func RunCmd(cmd string, timeout time.Duration) []byte

func ValidateOS

func ValidateOS()

Types

type Type

type Type int
const (
	Unknown Type = iota
	Windows
	Linux
	Darwin
)

func DetectOS

func DetectOS() Type

DetectOS return an int which represent an OS type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL