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

Add an Inspect or String method for reflect values that prints Values the way the are entered in Go. #25

Open
rocky opened this issue Dec 31, 2013 · 1 comment

Comments

@rocky
Copy link
Collaborator

rocky commented Dec 31, 2013

This is probably a flaw in the reflect value, but "%v" seems to display values slightly different than as you would in entering them into go.

In particular, %v gives <nil> instead of nil. And strings aren't quoted, and probably maps and slices values appear differently.

@rocky
Copy link
Collaborator Author

rocky commented Jan 5, 2014

With commit 8eb5c0f I have started to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant