(学习可参考菜鸟教程:https://www.runoob.com/go/go-basic-syntax.html)
1. Go编译生成的exe程序在后台运行(不闪过console窗口)
go build -ldflags "-s -w -H=windowsgui" -s 省略符号表和调试信息 -w Omit the DWARF symbol table 省略DWARF符号表 -H windowsgui 不打印信息到console (On Windows, -H windowsgui writes a "GUI binary" instead of a "console binary."),就不会有cmd窗口了
2. golang关键字释义(25个_另还有36个预定义标识符)
*36个预定义标识符
标签:binary,windowsgui,console,语言,golang,go,符号表 From: https://www.cnblogs.com/iSun520/p/18185042