diff options
| author | 2025-11-05 21:58:38 +0100 | |
|---|---|---|
| committer | 2025-11-17 14:12:41 +0100 | |
| commit | d0c551acb5ab79efafd325f5b19c76a3de835356 (patch) | |
| tree | ba9462cdc5081015fbd6bf5d98d9f39334d13207 /vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go | |
| parent | [performance] when transforming media, perform read operations of large files... (diff) | |
| download | gotosocial-d0c551acb5ab79efafd325f5b19c76a3de835356.tar.xz | |
[chore] update dependencies (#4542)
- github.com/minio/minio-go/v7: v7.0.95 -> v7.0.97
- github.com/ncruces/go-sqlite3: v0.29.1 -> v0.30.0
- github.com/tdewolff/minify/v2: v2.24.5 -> v2.24.6
- codeberg.org/gruf/go-mmap: fixes build for BSD platforms
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4542
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go')
| -rw-r--r-- | vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go b/vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go deleted file mode 100644 index a671fead3..000000000 --- a/vendor/github.com/minio/minio-go/v7/internal/json/json_stdlib.go +++ /dev/null @@ -1,49 +0,0 @@ -//go:build stdlibjson - -/* - * MinIO Go Library for Amazon S3 Compatible Cloud Storage - * Copyright 2025 MinIO, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package json - -import "encoding/json" - -// This file defines the JSON functions used internally and forwards them -// to encoding/json. This is only enabled by setting the build tag stdlibjson, -// otherwise json_goccy.go applies. -// This can be useful for testing purposes or if goccy/go-json (which is used otherwise) causes issues. -// -// This file does not contain all definitions from encoding/json; if needed, more -// can be added, but keep in mind that json_goccy.go will also need to be -// updated. - -var ( - // Unmarshal is a wrapper around encoding/json Unmarshal function. - Unmarshal = json.Unmarshal - // Marshal is a wrapper around encoding/json Marshal function. - Marshal = json.Marshal - // NewEncoder is a wrapper around encoding/json NewEncoder function. - NewEncoder = json.NewEncoder - // NewDecoder is a wrapper around encoding/json NewDecoder function. - NewDecoder = json.NewDecoder -) - -type ( - // Encoder is an alias for encoding/json Encoder. - Encoder = json.Encoder - // Decoder is an alias for encoding/json Decoder. - Decoder = json.Decoder -) |
