remoto
remoto copied to clipboard
generation failed: undeclared name
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?