Skip to content

Commit

Permalink
Merge pull request #3 from tommy351/update-default-dump-config
Browse files Browse the repository at this point in the history
feat: Disable dumping pointer info by default
  • Loading branch information
tommy351 authored Nov 1, 2024
2 parents ae6e7c9 + aa4058d commit 31c71df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 31c71df

Please sign in to comment.