From 5c794f31926d5f43ba48bdfc6e1a9de351a3185b Mon Sep 17 00:00:00 2001 From: SliverHorn <503551462@qq.com> Date: Mon, 5 Oct 2020 13:34:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0os=E7=9A=84Compiler=E7=9A=84?= =?UTF-8?q?=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/utils/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/utils/server.go b/server/utils/server.go index f671e861..1ea79ee6 100644 --- a/server/utils/server.go +++ b/server/utils/server.go @@ -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