3 ms·
Although I find build Go code with go tool very nice, it is in no way part of language specification. Just like in c you can build your own object files and/or
by tumdum_ 11y ago
Although I find build Go code with go tool very nice, it is in no way part of language specification. Just like in c you can build your own object files and/or archives and link them as you please. How go the tool does it is not the only possible way. See this example I've prepared on how to manually build go code: https://github.com/tumdum/go_build https://github.com/tumdum/go_build
You can read more detailed explanation by Dave (author of alternative Go build system - gb) here: http://dave.cheney.net/2013/10/15/how-does-the-go-build-command-work http://dave.cheney.net/2013/10/15/how-does-the-go-build-comm...