davecgh / go-spew

Implements a deep pretty printer for Go data structures to aid in debugging
ISC License
6.1k stars 367 forks source link

Add DisableLengths for pairity with DisableCapacities #117

Open novas0x2a opened 5 years ago

novas0x2a commented 5 years ago

For test usage, the diff will already be included, so there's no need to list the len.

This is pretty similar to https://github.com/davecgh/go-spew/pull/58 except length-only and includes tests.

novas0x2a commented 5 years ago

The tests for go 1.6, 1.7, and 1.8 fail because the tests require gometalinter, which doesn't support those go versions.