From 704b306809bf8b543d64485db5c695249ba91603 Mon Sep 17 00:00:00 2001 From: Kiyon Date: Wed, 10 Mar 2021 08:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=83=20Use=20internal=20json=20package?= =?UTF-8?q?=20as=20the=20default=20json=20encoder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.go b/app.go index a1dbb88c..d50735ed 100644 --- a/app.go +++ b/app.go @@ -12,7 +12,6 @@ package fiber import ( "bufio" "crypto/tls" - "encoding/json" "errors" "fmt" "net" @@ -27,9 +26,9 @@ import ( "time" "github.com/gofiber/fiber/v2/internal/colorable" + "github.com/gofiber/fiber/v2/internal/encoding/json" "github.com/gofiber/fiber/v2/internal/isatty" "github.com/gofiber/fiber/v2/utils" - "github.com/valyala/fasthttp" )