新增编译标记以及编译操作系统类型

This commit is contained in:
orgin
2022-09-22 10:54:27 +08:00
parent 151ed123f4
commit f931f61f7b

View File

@@ -31,6 +31,13 @@ var bValid bool
var configDir = "./config/" var configDir = "./config/"
var logLevel string = "debug" var logLevel string = "debug"
var logPath string var logPath string
type BuildOSType = int8
const(
Windows BuildOSType = 0
Linux BuildOSType = 1
Mac BuildOSType = 2
)
func init() { func init() {