goflymake
goflymake copied to clipboard
Functions with parameters that are private to the class show up as undefined
I have an interface:
type mobileSession interface { ... }
and a function that uses it:
func NewTestDevice(session mobileSession) { ... }
in code where NewTestDevice is used, it is shown as undefined. The code compiles without error, but emacs keeps telling me it's undefined.
I might not be asking to the right project though, because gofmt / goimports seems to refuse to automatically load a package when the params are not all public, too. Where would the problem be, if this is the case ?