From f931f61f7bcf2652efb8c73963a10a305cae6307 Mon Sep 17 00:00:00 2001 From: orgin Date: Thu, 22 Sep 2022 10:54:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BC=96=E8=AF=91=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=E4=BB=A5=E5=8F=8A=E7=BC=96=E8=AF=91=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node/node.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/node/node.go b/node/node.go index 332ab62..57f0dc6 100644 --- a/node/node.go +++ b/node/node.go @@ -31,6 +31,13 @@ var bValid bool var configDir = "./config/" var logLevel string = "debug" var logPath string +type BuildOSType = int8 + +const( + Windows BuildOSType = 0 + Linux BuildOSType = 1 + Mac BuildOSType = 2 +) func init() {