Skip to content

generation failed: undeclared name #18

@dolanor

Description

@dolanor

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions