Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generation failed: undeclared name #18

Open
dolanor opened this issue Dec 24, 2019 · 0 comments
Open

generation failed: undeclared name #18

dolanor opened this issue Dec 24, 2019 · 0 comments

Comments

@dolanor
Copy link

dolanor commented Dec 24, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant