提交 af6c4718 编写于 作者: yanghye's avatar yanghye

Optimize code usage

上级 5d5b0d7f
......@@ -23,15 +23,19 @@ var (
SingleProcess = false //进程启动方式, true单进程 false多进程
)
const (
Empty = ""
MAINARGS_NETIPCPORT = "net-ipc-port"
download_dir = "downloads"
ipcAccIdx = 8 //ipc args新的参数开始位置
ENERGY_HOME_KEY = "ENERGY_HOME"
MemoryNetwork = "unix"
)
func init() {
ExePath, _ = os.Getwd()
}
const (
ENERGY_HOME_KEY = "ENERGY_HOME"
MemoryNetwork = "unix"
)
type _int8 int8
type _int16 int16
type _int32 int32
......@@ -125,13 +129,6 @@ const (
Tm_Sync //同步,阻塞等待结果返回值
)
const (
Empty = ""
MAINARGS_NETIPCPORT = "net-ipc-port"
download_dir = "downloads"
ipcAccIdx = 8 //ipc args新的参数开始位置
)
//功能和消息常量
const (
WM_APP = 0x008000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册