From aa4058d798cf89f3d843ab6decbc466b6c01d651 Mon Sep 17 00:00:00 2001 From: Tommy Chen Date: Fri, 1 Nov 2024 22:44:05 +0800 Subject: [PATCH] feat: Disable dumping pointer info by default --- serializer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serializer.go b/serializer.go index 836c380..d719bb4 100644 --- a/serializer.go +++ b/serializer.go @@ -35,6 +35,8 @@ func newDefaultDumpConfig() *spew.ConfigState { conf := spew.NewDefaultConfig() conf.SortKeys = true conf.DisableCapacities = true + conf.DisablePointerAddresses = true + conf.DisablePointerMethods = true return conf }