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

Example (and my own code) doesn't work #5

Open
coroiu opened this issue May 11, 2018 · 1 comment
Open

Example (and my own code) doesn't work #5

coroiu opened this issue May 11, 2018 · 1 comment

Comments

@coroiu
Copy link

coroiu commented May 11, 2018

The example in README.md gives following error:

panic: unexpected reflect.Kind: uintptr [recovered]
panic: unexpected reflect.Kind: uintptr

Same example but saving to ´yaml´ gives the following error:

panic: reflect.Value.Interface: cannot return value obtained from unexported field or method [recovered]
panic: reflect.Value.Interface: cannot return value obtained from unexported field or method

Saving to json seems to work however. All of this is on Windows 10 go1.10.2 windows/amd64

@depthoffocus
Copy link

depthoffocus commented May 20, 2018

I can confirm this (on macOS).

With my own code (not the example code), store.Load() panics if there's no configuration file when using TOML, but not with JSON.

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

2 participants