Or github.com/kortschak/utter </shameless-self-plug>.

This package does an arguably better job at dealing with self-
referencing structures.

On Sat, 2020-11-14 at 03:52 -0800, twp...@gmail.com wrote:
> > My use case is that I want to pretty print in-memory objects for
> debug purposes during testing, and one of the features would be to
> point out such cycles as this.
> 
> Consider using an existing library for this, for example:
>   https://github.com/sanity-io/litter
>   https://github.com/davecgh/go-spew



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e4c5f7bbc6a6390c004bf20fcef77db816cf4215.camel%40kortschak.io.

Reply via email to