package
0.0.7
Repository: https://github.com/x-module/helper.git
Documentation: pkg.go.dev

# Functions

CompareOsEnv gets env named by the key and compare it with comparedEnv.
ExecCommand execute command, return the stdout and stderr string of command, and error if error occur param `command` is a complete command string, like, ls -a (linux), dir(windows), ping 127.0.0.1 in linux, use /bin/bash -c to execute command in windows, use powershell.exe to execute command Play: https://go.dev/play/p/n-2fLyZef-4.
GetOsBits return current os bits (32 or 64).
GetOsEnv gets the value of the environment variable named by the key.
IsLinux check if current os is linux.
IsMac check if current os is macos.
IsWindows check if current os is windows.
No description provided by the author
RemoveOsEnv remove a single environment variable.
SetOsEnv sets the value of the environment variable named by the key.

# Structs

No description provided by the author

# Type aliases

No description provided by the author