提交 5c794f31 编写于 作者: Sliver_Horn's avatar Sliver_Horn

添加os的Compiler的获取

上级 960c209d
......@@ -54,6 +54,7 @@ type Disk struct {
func InitOS() (o Os) {
o.GOOS = runtime.GOOS
o.NumCPU = runtime.NumCPU()
o.Compiler = runtime.Compiler
o.GoVersion = runtime.Version()
o.NumGoroutine = runtime.NumGoroutine()
return o
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册