[agent-go] 初步完成Executor部分的代码- 1

This commit is contained in:
zeaslity
2023-03-24 15:46:00 +08:00
parent 1af25d3992
commit 7e2450d30a
12 changed files with 60 additions and 41 deletions

View File

@@ -1,11 +1,14 @@
package main
import (
"agent-go/g"
"agent-go/register"
"flag"
"fmt"
)
var log = g.G.LOG
func main() {
// 解析命令行参数
@@ -20,6 +23,6 @@ func main() {
//config.InitNacos(filename)
// 执行初始化之策工作
register.INIT()
g.G.AgentServerInfo = register.INIT()
}