sysenv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BinApt       = "/usr/bin/apt"
	BinBash      = "/bin/bash"
	BinDpkg      = "/usr/bin/dpkg"
	BinNSLookup  = "/usr/bin/nslookup"
	BinSystemctl = "/usr/bin/systemctl"
)

Variables

This section is empty.

Functions

func IsLinux

func IsLinux() bool

IsLinux 检查当前操作系统是否为 Linux

func IsWindows

func IsWindows() bool

IsWindows 检查当前操作系统是否为 Windows

Types

This section is empty.

Jump to

Keyboard shortcuts

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