system

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WINDOWS = "windows"
	LINUX   = "linux"
	UNIX    = "unix"
	DARWIN  = "darwin"
)

Variables

This section is empty.

Functions

func GetCurrentUser

func GetCurrentUser() (string, string, error)

func GetHostOS

func GetHostOS() (string, error)

func GetUserHome

func GetUserHome(operatingSystem string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL