地圖
教學
exe
標籤為 “exe” 的頁面如下
Pg lang
Go Build
ldflags 輸入 go tool link 可以查到ldflags的訊息(例如-s, -w) 我建議如果要打包執行檔出去,用這個指令 go build -ldflags "-H=windowsgui