You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Litter doesn't use fmt.Stringer because Litter is meant to produce a format that corresponds to the data structure. If you want to modify the output, you can plug in a custom formatter. You should easily be able to add something that dumps fmt.Stringer types as strings instead.
Litter doesn't use fmt.Stringer because Litter is meant to produce a format that corresponds to the data structure. If you want to modify the output, you can plug in a custom formatter. You should easily be able to add something that dumps fmt.Stringer types as strings instead.
Have tried custom formatter, seems good.
However, when i use anonymous struct member, output is unexpected. Like I mention in davecgh/go-spew#142
Seems like litter not accept costumed String() implement func
Example comparing go-spew
Output compare
The text was updated successfully, but these errors were encountered: