Golang build/runtime

Might be a weird question new to golang. If we build binaries on go1.11 and then deploy those binaries to servers running go1.9.4 is the binary running under go.1.11 or go1.9.4

Hi

Then you build a go program will the result be an executable file which contains everything it needs to run on that particular system. The go tools are for running and building go programs and are not needed to run a built program.

So you don’t need go on your servers at all.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.