summaryrefslogtreecommitdiff
path: root/vendor/github.com/gin-gonic/gin/internal/json
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gin-gonic/gin/internal/json')
-rw-r--r--vendor/github.com/gin-gonic/gin/internal/json/go_json.go23
-rw-r--r--vendor/github.com/gin-gonic/gin/internal/json/json.go4
2 files changed, 2 insertions, 25 deletions
diff --git a/vendor/github.com/gin-gonic/gin/internal/json/go_json.go b/vendor/github.com/gin-gonic/gin/internal/json/go_json.go
deleted file mode 100644
index da960571a..000000000
--- a/vendor/github.com/gin-gonic/gin/internal/json/go_json.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2017 Bo-Yi Wu. All rights reserved.
-// Use of this source code is governed by a MIT style
-// license that can be found in the LICENSE file.
-
-//go:build go_json
-// +build go_json
-
-package json
-
-import json "github.com/goccy/go-json"
-
-var (
- // Marshal is exported by gin/json package.
- Marshal = json.Marshal
- // Unmarshal is exported by gin/json package.
- Unmarshal = json.Unmarshal
- // MarshalIndent is exported by gin/json package.
- MarshalIndent = json.MarshalIndent
- // NewDecoder is exported by gin/json package.
- NewDecoder = json.NewDecoder
- // NewEncoder is exported by gin/json package.
- NewEncoder = json.NewEncoder
-)
diff --git a/vendor/github.com/gin-gonic/gin/internal/json/json.go b/vendor/github.com/gin-gonic/gin/internal/json/json.go
index 75b602240..172aeb241 100644
--- a/vendor/github.com/gin-gonic/gin/internal/json/json.go
+++ b/vendor/github.com/gin-gonic/gin/internal/json/json.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
-//go:build !jsoniter && !go_json
-// +build !jsoniter,!go_json
+//go:build !jsoniter
+// +build !jsoniter
package json