On Sat, 29 Apr 2017 04:33:19 -0700 (PDT)
mhhc...@gmail.com wrote:

> just a note about the //go:gen comment.
> 
> If there is a space in front of go:gen, it won t work, this,
> // go:gen...
[...]

Let's cite the output of running `go help generate`:

| Go generate scans the file for directives, which are lines of
| the form,
|
|        //go:generate command argument...
|
| (note: no leading spaces and no space in "//go") where command
| is the generator to be run, corresponding to an executable file
| that can be run locally. It must either be in the shell path
| (gofmt), a fully qualified path (/usr/you/bin/mytool), or a
| command alias, described below.

-- 
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.

Reply via email to