diff options
author | 2023-03-13 07:52:13 +0000 | |
---|---|---|
committer | 2023-03-13 07:52:13 +0000 | |
commit | 0a864623f3d1084b6e8cc86f4b69e0adfa1c40cc (patch) | |
tree | 743196f1e7a788a8da897161868e7cf78def997f /vendor/codeberg.org/gruf/go-kv/field_fmt.go | |
parent | update license headers (#1612) (diff) | |
download | gotosocial-0a864623f3d1084b6e8cc86f4b69e0adfa1c40cc.tar.xz |
[chore]: Bump codeberg.org/gruf/go-kv from 1.6.0 to 1.6.1 (#1619)
Bumps codeberg.org/gruf/go-kv from 1.6.0 to 1.6.1.
---
updated-dependencies:
- dependency-name: codeberg.org/gruf/go-kv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/codeberg.org/gruf/go-kv/field_fmt.go')
-rw-r--r-- | vendor/codeberg.org/gruf/go-kv/field_fmt.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/codeberg.org/gruf/go-kv/field_fmt.go b/vendor/codeberg.org/gruf/go-kv/field_fmt.go index 33cec482b..5d6e77f4b 100644 --- a/vendor/codeberg.org/gruf/go-kv/field_fmt.go +++ b/vendor/codeberg.org/gruf/go-kv/field_fmt.go @@ -25,7 +25,7 @@ func (f Field) AppendFormat(buf *byteutil.Buffer, vbose bool) { } else /* regular */ { fmtstr = `%+v` } - AppendQuote(buf, f.K) + AppendQuoteString(buf, f.K) buf.WriteByte('=') appendValuef(buf, fmtstr, f.V) } @@ -50,7 +50,7 @@ func appendValuef(buf *byteutil.Buffer, format string, args ...interface{}) { fmtbuf.B = fmt.Appendf(fmtbuf.B, format, args...) // Append quoted value to dst buffer - AppendQuote(buf, fmtbuf.String()) + AppendQuoteValue(buf, fmtbuf.String()) // Drop overly large capacity buffers if fmtbuf.Cap() > int(^uint16(0)) { |