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

reflect: reflect.flag.mustBeAssignable using value obtained using unexported field #71

Open
Altiano opened this issue Jan 21, 2020 · 2 comments

Comments

@Altiano
Copy link

Altiano commented Jan 21, 2020

googleLocation `json:"location"`

*googleGeometry `json:"geometry"`

This line cause me: reflect: reflect.flag.mustBeAssignable using value obtained using unexported field

But, if I specify field names here, It works

@coffemanfp
Copy link

I have the same problem. Can u tell me how works for you?

@matryer
Copy link
Owner

matryer commented Sep 30, 2020

Try GoogleGeometry - this should make it exported (and not "unexported")

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

3 participants