1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00
This commit is contained in:
Tao Wen
2017-08-25 12:53:23 +08:00
parent cdbd2ed810
commit 2dc0031b26
7 changed files with 8 additions and 8 deletions

View File

@ -4,8 +4,8 @@ import (
"fmt"
"io"
"reflect"
"unsafe"
"strings"
"unsafe"
)
func encoderOfStruct(cfg *frozenConfig, typ reflect.Type) (ValEncoder, error) {

View File

@ -4,8 +4,8 @@ import (
"fmt"
"io"
"reflect"
"unsafe"
"strings"
"unsafe"
)
func createStructDecoder(typ reflect.Type, fields map[string]*structFieldDecoder) (ValDecoder, error) {

View File

@ -1,8 +1,8 @@
package jsoniter
import (
"testing"
"github.com/stretchr/testify/require"
"testing"
)
func Test_decode_one_field_struct(t *testing.T) {