在构建Go程序以进行发布时,仅使用“ go build”是一种标准做法吗?

When building Go programs for release is it standard practise to just use go build without any other options? I ask because when building using go build all debug information is included by default. To remove it you can pass an option to the linker, thus:

go build -ldflags "-w" prog.go

This omits all debug symbols. When building programs for release do you remove this information or leave it intact?

EDIT: For clarity, i'm wondering how people compile Go programs for deployment to a live environment. In other compiled languages you have a different set of compiler command line options for debugging and release builds and release builds usually optimise the executable and remove debugging information.