remoto icon indicating copy to clipboard operation
remoto copied to clipboard

generation failed: undeclared name

Open dolanor opened this issue 5 years ago • 0 comments

Hello,

I tried generating a server with remoto and got an undeclared name error. I reproduced the error with:

remoto generate infoer.remoto.go ~/go/src/github.com/machinebox/remoto/templates/remotohttp/server.go.plush 
parse: conf.Check: io.Reader.go:12:7: undeclared name: Info

With the code here The Info struct is declared in the same package, but remoto cannot understand/find it.

Am I using this wrong?

dolanor avatar Dec 24 '19 03:12 dolanor