diff options
author | Duco van Amstel <helcaraxan@gmail.com> | 2018-11-18 00:28:29 +0000 |
---|---|---|
committer | Duco van Amstel <helcaraxan@gmail.com> | 2018-11-18 01:10:15 +0000 |
commit | 692bb8faa7c4000953b0622a77126193f8fd0383 (patch) | |
tree | b0966b9aa86eb8d02d423221bed21893959de4eb /vendor/github.com/davecgh/go-spew/spew/dump.go | |
parent | 455a0fc2394ea52955ed386663ded9a9dceab83f (diff) | |
download | matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.gz matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.bz2 matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.zip |
Upgrade logrus / testify to stable versions
Diffstat (limited to 'vendor/github.com/davecgh/go-spew/spew/dump.go')
-rw-r--r-- | vendor/github.com/davecgh/go-spew/spew/dump.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/github.com/davecgh/go-spew/spew/dump.go b/vendor/github.com/davecgh/go-spew/spew/dump.go index df1d582a..f78d89fc 100644 --- a/vendor/github.com/davecgh/go-spew/spew/dump.go +++ b/vendor/github.com/davecgh/go-spew/spew/dump.go @@ -35,16 +35,16 @@ var ( // cCharRE is a regular expression that matches a cgo char. // It is used to detect character arrays to hexdump them. - cCharRE = regexp.MustCompile("^.*\\._Ctype_char$") + cCharRE = regexp.MustCompile(`^.*\._Ctype_char$`) // cUnsignedCharRE is a regular expression that matches a cgo unsigned // char. It is used to detect unsigned character arrays to hexdump // them. - cUnsignedCharRE = regexp.MustCompile("^.*\\._Ctype_unsignedchar$") + cUnsignedCharRE = regexp.MustCompile(`^.*\._Ctype_unsignedchar$`) // cUint8tCharRE is a regular expression that matches a cgo uint8_t. // It is used to detect uint8_t arrays to hexdump them. - cUint8tCharRE = regexp.MustCompile("^.*\\._Ctype_uint8_t$") + cUint8tCharRE = regexp.MustCompile(`^.*\._Ctype_uint8_t$`) ) // dumpState contains information about the state of a dump operation. @@ -143,10 +143,10 @@ func (d *dumpState) dumpPtr(v reflect.Value) { // Display dereferenced value. d.w.Write(openParenBytes) switch { - case nilFound == true: + case nilFound: d.w.Write(nilAngleBytes) - case cycleFound == true: + case cycleFound: d.w.Write(circularBytes) default: |