-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elide type assertions on unnamed types (#21)
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.
- Loading branch information
Showing
2 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters