On Thu, Dec 14, 2017 at 11:53 AM dc0d <kaveh.shahbaz...@gmail.com> wrote:
> What is the reasoning for not executing //go:generate ... comments inside a file, that is excluded from build by // +build ignore? 'ignore' is just a tag like any other: $ cat main.go // +build ignore //go:generate echo foo package main func main() {} $ go generate $ go generate -tags ignore foo $ -- -j -- 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.google.com/d/optout.