package
1.0.0
Repository: https://github.com/fzf-labs/futil.git
Documentation: pkg.go.dev

# README

系统

# Functions

GetCPUInfo 获取CPU信息.
GetDiskInfo 获取磁盘信息.
GetGoroutineID 获得当前 goroutine id.
GetHostName 获取主机名.
GetMemInfo 获取内存信息.
GetOS 获取操作系统名称.
GetOsBits 获取此系统位 32 位或 64 位 return bit int (32/64).
GetOsEnv 通过键名获取环境变量的值。.
GetSysInfo 获取服务器信息.
GoVersion 获取go版本。例如:“1.18.2”.
IsLinux 检查当前操作系统是否为 linux.
IsMac 检查当前操作系统是否为 macos.
IsWindows 检查当前操作系统是否为 Windows.
RemoveOsEnv 删除单个环境变量。.
SetOsEnv 设置由键命名的环境变量的值。.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author