首页 > 技术文章 > go windows下程序运行隐藏dos窗口

zwsblogs 2019-05-24 09:48 原文

build时加参数

go build -ldflags="-H windowsgui" xxxxx.go

推荐阅读