Go generate is not needed in your example. Go build is what is producing
the hello executable.
Go generate is used to run special commands specified by comments in the
.go files - these commands could produce new .go files, package binaries
into binhex or base64 encoded strings in .go files for
https://blog.golang.org/generate
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.
On Sunday, December 17, 2017 at 11:45:12 PM UTC+2, Compiler wrote:
>
> - https://en.wikipedia.org/wiki/Go_(programming_language)
> - go build, which builds Go binaries using only information in the source
> files themselves, no separate makefiles
> - go test, for unit testing and microbenchmarks
- https://en.wikipedia.org/wiki/Go_(programming_language)
- go build, which builds Go binaries using only information in the source
files themselves, no separate makefiles
- go test, for unit testing and microbenchmarks
- go fmt, for formatting code
- go get, for retrieving and installing remote