summaryrefslogtreecommitdiff
path: root/spew/format.go
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2016-11-23 15:24:26 -0500
committerDave Collins <[email protected]>2017-07-11 11:24:36 -0500
commit9fadf46324c4cfc36cc82310ca92ded38af91249 (patch)
tree7ee45c2a10640ab30ad0f169bad9c2b87d12bc16 /spew/format.go
parente250ec7f597aa5cd2c9f38b9cbf3dbc81cc1e3bb (diff)
travis: Use gometalinter
Diffstat (limited to 'spew/format.go')
-rw-r--r--spew/format.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/spew/format.go b/spew/format.go
index c49875b..b04edb7 100644
--- a/spew/format.go
+++ b/spew/format.go
@@ -182,10 +182,10 @@ func (f *formatState) formatPtr(v reflect.Value) {
// Display dereferenced value.
switch {
- case nilFound == true:
+ case nilFound:
f.fs.Write(nilAngleBytes)
- case cycleFound == true:
+ case cycleFound:
f.fs.Write(circularShortBytes)
default: