Skip to content

xiongyejun/08-go

Repository files navigation

go

编译压缩体积

go build -ldflags "-s -w"
-s 去掉符号信息, -w 去掉DWARF调试信息,得到的程序就不能用gdb调试了

运行隐藏黑窗口

go build -ldflags "-H windowsgui" project.go

编译exe添加icon

rsrc.exe -manifest ico.manifest -o myapp.syso -ico myapp.ico

查看汇编代码

go tool compile -S main.go >> main.S

学习资源

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages