go generate
Code generation lands in the toolchain
25 September 2014
Kevin Gillette
Kevin Gillette
go generate [-run regexp] [file.go...|packagepath...]
package library //go:generate program -o output.go args...
package library //go:generate -command say echo one two //go:generate say three four
//go:generate -command echo echo one two //go:generate echo three four