diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
commit | 15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (patch) | |
tree | 255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/github.com/davecgh/go-spew/spew/dump.go | |
parent | 07971ca38143c5faf951d152fba370ddcbe26ad5 (diff) | |
download | terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.gz terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.zst terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.zip |
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
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 df1d582..f78d89f 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 ( | |||
35 | 35 | ||
36 | // cCharRE is a regular expression that matches a cgo char. | 36 | // cCharRE is a regular expression that matches a cgo char. |
37 | // It is used to detect character arrays to hexdump them. | 37 | // It is used to detect character arrays to hexdump them. |
38 | cCharRE = regexp.MustCompile("^.*\\._Ctype_char$") | 38 | cCharRE = regexp.MustCompile(`^.*\._Ctype_char$`) |
39 | 39 | ||
40 | // cUnsignedCharRE is a regular expression that matches a cgo unsigned | 40 | // cUnsignedCharRE is a regular expression that matches a cgo unsigned |
41 | // char. It is used to detect unsigned character arrays to hexdump | 41 | // char. It is used to detect unsigned character arrays to hexdump |
42 | // them. | 42 | // them. |
43 | cUnsignedCharRE = regexp.MustCompile("^.*\\._Ctype_unsignedchar$") | 43 | cUnsignedCharRE = regexp.MustCompile(`^.*\._Ctype_unsignedchar$`) |
44 | 44 | ||
45 | // cUint8tCharRE is a regular expression that matches a cgo uint8_t. | 45 | // cUint8tCharRE is a regular expression that matches a cgo uint8_t. |
46 | // It is used to detect uint8_t arrays to hexdump them. | 46 | // It is used to detect uint8_t arrays to hexdump them. |
47 | cUint8tCharRE = regexp.MustCompile("^.*\\._Ctype_uint8_t$") | 47 | cUint8tCharRE = regexp.MustCompile(`^.*\._Ctype_uint8_t$`) |
48 | ) | 48 | ) |
49 | 49 | ||
50 | // dumpState contains information about the state of a dump operation. | 50 | // dumpState contains information about the state of a dump operation. |
@@ -143,10 +143,10 @@ func (d *dumpState) dumpPtr(v reflect.Value) { | |||
143 | // Display dereferenced value. | 143 | // Display dereferenced value. |
144 | d.w.Write(openParenBytes) | 144 | d.w.Write(openParenBytes) |
145 | switch { | 145 | switch { |
146 | case nilFound == true: | 146 | case nilFound: |
147 | d.w.Write(nilAngleBytes) | 147 | d.w.Write(nilAngleBytes) |
148 | 148 | ||
149 | case cycleFound == true: | 149 | case cycleFound: |
150 | d.w.Write(circularBytes) | 150 | d.w.Write(circularBytes) |
151 | 151 | ||
152 | default: | 152 | default: |