summaryrefslogtreecommitdiff
path: root/vendor/github.com/ugorji/go/codec/init.mono.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-06-30 15:19:09 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-06-30 15:19:09 +0200
commit8b0ea560279a5bf4479555d3924c763ddeecfcad (patch)
tree005e26d4a658e565594fb259cc17948659195822 /vendor/github.com/ugorji/go/codec/init.mono.go
parent[chore] bumps ncruces/go-sqlite3 v0.26.1 => v0.26.3 (#4302) (diff)
downloadgotosocial-8b0ea560279a5bf4479555d3924c763ddeecfcad.tar.xz
[chore] update go dependencies (#4304)
- github.com/KimMachineGun/automemlimit v0.7.2 => v0.7.3 - github.com/gin-contrib/cors v1.7.5 => v1.7.6 - github.com/minio/minio-go/v7 v7.0.92 => v7.0.94 - github.com/spf13/cast v1.8.0 => v1.9.2 - github.com/uptrace/bun{,/*} v1.2.11 => v1.2.14 - golang.org/x/image v0.27.0 => v0.28.0 - golang.org/x/net v0.40.0 => v0.41.0 - code.superseriousbusiness.org/go-swagger v0.31.0-gts-go1.23-fix => v0.32.3-gts-go1.23-fix Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4304 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/ugorji/go/codec/init.mono.go')
-rw-r--r--vendor/github.com/ugorji/go/codec/init.mono.go130
1 files changed, 130 insertions, 0 deletions
diff --git a/vendor/github.com/ugorji/go/codec/init.mono.go b/vendor/github.com/ugorji/go/codec/init.mono.go
new file mode 100644
index 000000000..f4133b026
--- /dev/null
+++ b/vendor/github.com/ugorji/go/codec/init.mono.go
@@ -0,0 +1,130 @@
+// Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved.
+// Use of this source code is governed by a MIT license found in the LICENSE file.
+
+//go:build !notmono && !codec.notmono
+
+package codec
+
+import "io"
+
+func callMake(v interface{}) {}
+
+type encWriter interface{ encWriterI }
+type decReader interface{ decReaderI }
+type encDriver interface{ encDriverI }
+type decDriver interface{ decDriverI }
+
+func (h *SimpleHandle) newEncoderBytes(out *[]byte) encoderI {
+ return helperEncDriverSimpleBytes{}.newEncoderBytes(out, h)
+}
+
+func (h *SimpleHandle) newEncoder(w io.Writer) encoderI {
+ return helperEncDriverSimpleIO{}.newEncoderIO(w, h)
+}
+
+func (h *SimpleHandle) newDecoderBytes(in []byte) decoderI {
+ return helperDecDriverSimpleBytes{}.newDecoderBytes(in, h)
+}
+
+func (h *SimpleHandle) newDecoder(r io.Reader) decoderI {
+ return helperDecDriverSimpleIO{}.newDecoderIO(r, h)
+}
+
+func (h *JsonHandle) newEncoderBytes(out *[]byte) encoderI {
+ return helperEncDriverJsonBytes{}.newEncoderBytes(out, h)
+}
+
+func (h *JsonHandle) newEncoder(w io.Writer) encoderI {
+ return helperEncDriverJsonIO{}.newEncoderIO(w, h)
+}
+
+func (h *JsonHandle) newDecoderBytes(in []byte) decoderI {
+ return helperDecDriverJsonBytes{}.newDecoderBytes(in, h)
+}
+
+func (h *JsonHandle) newDecoder(r io.Reader) decoderI {
+ return helperDecDriverJsonIO{}.newDecoderIO(r, h)
+}
+
+func (h *MsgpackHandle) newEncoderBytes(out *[]byte) encoderI {
+ return helperEncDriverMsgpackBytes{}.newEncoderBytes(out, h)
+}
+
+func (h *MsgpackHandle) newEncoder(w io.Writer) encoderI {
+ return helperEncDriverMsgpackIO{}.newEncoderIO(w, h)
+}
+
+func (h *MsgpackHandle) newDecoderBytes(in []byte) decoderI {
+ return helperDecDriverMsgpackBytes{}.newDecoderBytes(in, h)
+}
+
+func (h *MsgpackHandle) newDecoder(r io.Reader) decoderI {
+ return helperDecDriverMsgpackIO{}.newDecoderIO(r, h)
+}
+
+func (h *BincHandle) newEncoderBytes(out *[]byte) encoderI {
+ return helperEncDriverBincBytes{}.newEncoderBytes(out, h)
+}
+
+func (h *BincHandle) newEncoder(w io.Writer) encoderI {
+ return helperEncDriverBincIO{}.newEncoderIO(w, h)
+}
+
+func (h *BincHandle) newDecoderBytes(in []byte) decoderI {
+ return helperDecDriverBincBytes{}.newDecoderBytes(in, h)
+}
+
+func (h *BincHandle) newDecoder(r io.Reader) decoderI {
+ return helperDecDriverBincIO{}.newDecoderIO(r, h)
+}
+
+func (h *CborHandle) newEncoderBytes(out *[]byte) encoderI {
+ return helperEncDriverCborBytes{}.newEncoderBytes(out, h)
+}
+
+func (h *CborHandle) newEncoder(w io.Writer) encoderI {
+ return helperEncDriverCborIO{}.newEncoderIO(w, h)
+}
+
+func (h *CborHandle) newDecoderBytes(in []byte) decoderI {
+ return helperDecDriverCborBytes{}.newDecoderBytes(in, h)
+}
+
+func (h *CborHandle) newDecoder(r io.Reader) decoderI {
+ return helperDecDriverCborIO{}.newDecoderIO(r, h)
+}
+
+var (
+ bincFpEncIO = helperEncDriverBincIO{}.fastpathEList()
+ bincFpEncBytes = helperEncDriverBincBytes{}.fastpathEList()
+ bincFpDecIO = helperDecDriverBincIO{}.fastpathDList()
+ bincFpDecBytes = helperDecDriverBincBytes{}.fastpathDList()
+)
+
+var (
+ cborFpEncIO = helperEncDriverCborIO{}.fastpathEList()
+ cborFpEncBytes = helperEncDriverCborBytes{}.fastpathEList()
+ cborFpDecIO = helperDecDriverCborIO{}.fastpathDList()
+ cborFpDecBytes = helperDecDriverCborBytes{}.fastpathDList()
+)
+
+var (
+ jsonFpEncIO = helperEncDriverJsonIO{}.fastpathEList()
+ jsonFpEncBytes = helperEncDriverJsonBytes{}.fastpathEList()
+ jsonFpDecIO = helperDecDriverJsonIO{}.fastpathDList()
+ jsonFpDecBytes = helperDecDriverJsonBytes{}.fastpathDList()
+)
+
+var (
+ msgpackFpEncIO = helperEncDriverMsgpackIO{}.fastpathEList()
+ msgpackFpEncBytes = helperEncDriverMsgpackBytes{}.fastpathEList()
+ msgpackFpDecIO = helperDecDriverMsgpackIO{}.fastpathDList()
+ msgpackFpDecBytes = helperDecDriverMsgpackBytes{}.fastpathDList()
+)
+
+var (
+ simpleFpEncIO = helperEncDriverSimpleIO{}.fastpathEList()
+ simpleFpEncBytes = helperEncDriverSimpleBytes{}.fastpathEList()
+ simpleFpDecIO = helperDecDriverSimpleIO{}.fastpathDList()
+ simpleFpDecBytes = helperDecDriverSimpleBytes{}.fastpathDList()
+)