Skip to content

Commit

Permalink
move reflect2 from plz to modern-go
Browse files Browse the repository at this point in the history
  • Loading branch information
taowen committed Feb 28, 2018
1 parent 2a93f90 commit 455b3f8
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 65 deletions.
40 changes: 8 additions & 32 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 3 additions & 14 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,8 @@
# name = "github.com/x/y"
# version = "2.4.0"

ignored = ["github.com/davecgh/go-spew*","github.com/google/gofuzz*","github.com/stretchr/testify*"]

[[constraint]]
name = "github.com/davecgh/go-spew"
version = "1.1.0"

[[constraint]]
branch = "master"
name = "github.com/google/gofuzz"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"

[[constraint]]
name = "github.com/v2pro/plz"
version = "0.9.1"
name = "github.com/modern-go/reflect2"
version = "1.0.0"
2 changes: 1 addition & 1 deletion any.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package jsoniter
import (
"errors"
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"reflect"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"sync"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion extension_tests/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package test
import (
"github.com/json-iterator/go"
"github.com/stretchr/testify/require"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"strconv"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion extra/binary_as_string_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/json-iterator/go"
"unsafe"
"unicode/utf8"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
)

// safeSet holds the value true if the ASCII character with the given array
Expand Down
2 changes: 1 addition & 1 deletion extra/fuzzy_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"unsafe"

"github.com/json-iterator/go"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
)

const maxUint = ^uint(0)
Expand Down
2 changes: 1 addition & 1 deletion reflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_array.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_dynamic.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package jsoniter

import (
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"sort"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion reflect_json_number.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"strconv"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_json_raw_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion reflect_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"sort"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion reflect_marshaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package jsoniter
import (
"encoding"
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"unsafe"
)

Expand Down
2 changes: 1 addition & 1 deletion reflect_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"encoding/base64"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"strconv"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion reflect_optional.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package jsoniter

import (
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)
Expand Down
2 changes: 1 addition & 1 deletion reflect_struct_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"strings"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion reflect_struct_encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package jsoniter

import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"reflect"
"unsafe"
Expand Down
2 changes: 1 addition & 1 deletion value_tests/value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"github.com/json-iterator/go"
"github.com/stretchr/testify/require"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"testing"
)

Expand Down

0 comments on commit 455b3f8

Please sign in to comment.