add internal package which includes json package

This commit is contained in:
thinkerou 2018-08-22 17:27:56 +08:00
parent 85f3e78abc
commit 6e50fabb7a
7 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import (
"io"
"net/http"
"github.com/gin-gonic/gin/json"
"github.com/gin-gonic/gin/internal/json"
)
// EnableDecoderUseNumber is used to call the UseNumber method on the JSON

View File

@ -9,7 +9,7 @@ import (
"fmt"
"reflect"
"github.com/gin-gonic/gin/json"
"github.com/gin-gonic/gin/internal/json"
)
type ErrorType uint64

View File

@ -8,7 +8,7 @@ import (
"errors"
"testing"
"github.com/gin-gonic/gin/json"
"github.com/gin-gonic/gin/internal/json"
"github.com/stretchr/testify/assert"
)

View File

@ -10,7 +10,7 @@ import (
"html/template"
"net/http"
"github.com/gin-gonic/gin/json"
"github.com/gin-gonic/gin/internal/json"
)
type JSON struct {

View File

@ -9,7 +9,7 @@ package render
import (
"net/http"
"github.com/gin-gonic/gin/json"
"github.com/gin-gonic/gin/internal/json"
)
type PureJSON struct {