mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 16:32:25 -05:00
pull in latest go-kv, go-cache (#1530)
Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
a0068e8915
commit
51c156cca1
16 changed files with 451 additions and 224 deletions
4
vendor/codeberg.org/gruf/go-kv/field_fmt.go
generated
vendored
4
vendor/codeberg.org/gruf/go-kv/field_fmt.go
generated
vendored
|
|
@ -25,7 +25,7 @@ func (f Field) AppendFormat(buf *byteutil.Buffer, vbose bool) {
|
|||
} else /* regular */ {
|
||||
fmtstr = `%+v`
|
||||
}
|
||||
AppendQuoteKey(buf, f.K)
|
||||
AppendQuote(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
|
||||
AppendQuoteValue(buf, fmtbuf.String())
|
||||
AppendQuote(buf, fmtbuf.String())
|
||||
|
||||
// Drop overly large capacity buffers
|
||||
if fmtbuf.Cap() > int(^uint16(0)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue