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
Hi jimeh, have you thought about supporting something like json.Indent for updated golden files? It would make them cleaner to read manually, which I think would be a nice thing to have.
Excited about this library!
The text was updated successfully, but these errors were encountered:
I believe what is written to golden files is actually outside the scope of the golden package itself, as it just reads/writes byte slices.
But I have been on and off working on a companion package that has assertion helpers for JSON, YAML, and XML. Along with a means for supplying custom marshal/unmarshal functions for any kind of wire format.
I can't promise a timeline, but I want to get it finished "soon", as it would replace and simplify nearly all of my own current uses of the golden package.
Hi jimeh, have you thought about supporting something like json.Indent for updated golden files? It would make them cleaner to read manually, which I think would be a nice thing to have.
Excited about this library!
The text was updated successfully, but these errors were encountered: