From 3fdaf5cea8d23107b993d363e98992fa529dd713 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Mon, 5 May 2014 22:09:56 -0500 Subject: Dump non-zero len and cap for applicable types. Closes #16. --- spew/common.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spew/common.go') diff --git a/spew/common.go b/spew/common.go index bc26e7e..1a03dc8 100644 --- a/spew/common.go +++ b/spew/common.go @@ -142,6 +142,8 @@ var ( closeAngleBytes = []byte(">") openMapBytes = []byte("map[") closeMapBytes = []byte("]") + lenEqualsBytes = []byte("len=") + capEqualsBytes = []byte("cap=") ) // hexDigits is used to map a decimal value to a hex digit. -- cgit v1.2.3