3 ms·
That's kind of misleading, like there's some sort of built-in support in some sort of go command that does that already. "go generate" is really a red herring.
by jerf 6y ago
That's kind of misleading, like there's some sort of built-in support in some sort of go command that does that already.
"go generate" is really a red herring. It's completely meaningless. It allows you to define some commands that get run when you type "go generate", but... if I define a shell script called "blah", I can get some commands to run every time I type "blah". go generate doesn't do anything useful.