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

Elide printing type assertions on unnamed types #21

Merged
merged 2 commits into from
Sep 27, 2017
Merged

Elide printing type assertions on unnamed types #21

merged 2 commits into from
Sep 27, 2017

Conversation

dsnet
Copy link
Collaborator

@dsnet dsnet commented Jul 21, 2017

Many of the powerful uses of Transformers produces a significant amount of
interfaces to anonymous types. For example, a generic JSON unmarshaler
can unmarshal into a map[string]interface{} or []interface{}.
However, the printing of these type assertions can be really noisy.
Thus, elide type assertions for these cases.

Many of the powerful uses of Transformers produces a significant amount of
interfaces to anonymous types. For example, a generic JSON unmarshaler
can unmarshal into a map[string]interface{} or []interface{}.
However, the printing of these type assertions can be really noisy.
Thus, elide type assertions for these cases.
@dsnet dsnet requested a review from bcmills July 21, 2017 00:35
@dsnet dsnet changed the title Elide type assertions on unnamed types Elide printing type assertions on unnamed types Jul 28, 2017
@dsnet dsnet requested review from neild and removed request for bcmills September 27, 2017 18:49
@dsnet dsnet merged commit f46009a into master Sep 27, 2017
@dsnet dsnet deleted the json branch September 27, 2017 20:41
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

Successfully merging this pull request may close these issues.

None yet

2 participants