1 Star 1 Fork 0

灵狐/go-fox-edge-common

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
GlobalVar.go 309 Bytes
一键复制 编辑 原始数据 按行查看 历史
灵狐 提交于 2024-11-01 17:27 +08:00 . 从内线合并代码到外部
package OS
var (
chartSet string
Type *osType
Cmd *windowsCmd
Shell *linuxShell
Hardware *hardware
Sys *sysInfo
)
func init() {
Type = &osType{}
Cmd = &windowsCmd{}
Shell = &linuxShell{}
Sys = &sysInfo{}
Hardware = &hardware{}
Hardware.init()
chartSet = Cmd.getChartType()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fierce_wolf/go-fox-edge-common.git
git@gitee.com:fierce_wolf/go-fox-edge-common.git
fierce_wolf
go-fox-edge-common
go-fox-edge-common
v1.0.1

搜索帮助