Skip to content

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

Description

@rocky

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions