summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/extra/bunjson/json.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-03-10 01:59:49 +0100
commit3ac1ee16f377d31a0fb80c8dae28b6239ac4229e (patch)
treef61faa581feaaeaba2542b9f2b8234a590684413 /vendor/github.com/uptrace/bun/extra/bunjson/json.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-3ac1ee16f377d31a0fb80c8dae28b6239ac4229e.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/github.com/uptrace/bun/extra/bunjson/json.go')
-rw-r--r--vendor/github.com/uptrace/bun/extra/bunjson/json.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/vendor/github.com/uptrace/bun/extra/bunjson/json.go b/vendor/github.com/uptrace/bun/extra/bunjson/json.go
deleted file mode 100644
index eff9d3f0e..000000000
--- a/vendor/github.com/uptrace/bun/extra/bunjson/json.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package bunjson
-
-import (
- "encoding/json"
- "io"
-)
-
-var _ Provider = (*StdProvider)(nil)
-
-type StdProvider struct{}
-
-func (StdProvider) Marshal(v interface{}) ([]byte, error) {
- return json.Marshal(v)
-}
-
-func (StdProvider) Unmarshal(data []byte, v interface{}) error {
- return json.Unmarshal(data, v)
-}
-
-func (StdProvider) NewEncoder(w io.Writer) Encoder {
- return json.NewEncoder(w)
-}
-
-func (StdProvider) NewDecoder(r io.Reader) Decoder {
- return json.NewDecoder(r)
-}