Merge pull request #1211 from kiyonlin/json

🔃 Use internal json package as the default json encoder
This commit is contained in:
kiyon 2021-03-10 08:42:51 +08:00 committed by GitHub
commit 4e54d4818c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
app.go
View File

@ -12,7 +12,6 @@ package fiber
import (
"bufio"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"net"
@ -27,6 +26,7 @@ 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"