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

Functions with parameters that are private to the class show up as undefined #19

Open
abourget opened this issue Mar 10, 2015 · 0 comments

Comments

@abourget
Copy link

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 ?

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