-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store outputwriter data as 2d array of interfaces
... instead of 2d array of strings done prior to this commit. AddRow accepts a variatic list of interface{}s, yet immediately converts each of them to their golang string representation. This change retains these values as interface{}'s instead. The idea is to delay any necessary conversion to the point when we are actually rendering the values. This is particular useful when rendering container values like maps/lists in their valid YAML/JSON forms.
- Loading branch information
Showing
2 changed files
with
31 additions
and
16 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