1
0
mirror of https://github.com/json-iterator/go.git synced 2025-04-20 11:28:49 +02:00

move reflect2 from plz to modern-go

This commit is contained in:
Tao Wen 2018-02-28 17:09:30 +08:00
parent 2a93f9003e
commit 455b3f8bb8
21 changed files with 30 additions and 65 deletions

40
Gopkg.lock generated
View File

@ -2,44 +2,20 @@
[[projects]]
name = "github.com/davecgh/go-spew"
packages = ["spew"]
revision = "346938d642f2ec3594ed81d874461961cd0faa76"
version = "v1.1.0"
[[projects]]
branch = "master"
name = "github.com/google/gofuzz"
name = "github.com/modern-go/concurrent"
packages = ["."]
revision = "24818f796faf91cd76ec7bddd72458fbced7a6c1"
revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a"
version = "1.0.0"
[[projects]]
name = "github.com/pmezard/go-difflib"
packages = ["difflib"]
revision = "792786c7400a136282c1664665ae0a8db921c6c2"
version = "v1.0.0"
[[projects]]
name = "github.com/stretchr/testify"
packages = [
"assert",
"require"
]
revision = "12b6f73e6084dad08a7c6e575284b177ecafbc71"
version = "v1.2.1"
[[projects]]
name = "github.com/v2pro/plz"
packages = [
"concurrent",
"reflect2"
]
revision = "10fc95fad3224a032229e59f6e7023137d82b526"
version = "0.9.1"
name = "github.com/modern-go/reflect2"
packages = ["."]
revision = "1df9eeb2bb81f327b96228865c5687bc2194af3f"
version = "1.0.0"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "64fe3937a1afce5cb551c06ff7109065c971643e082512243d1071bab428ff14"
inputs-digest = "ac7003b5a981716353a43055ab7d4c5357403cb30a60de2dbdeb446c1544beaa"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -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
any.go
View File

@ -3,7 +3,7 @@ package jsoniter
import (
"errors"
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"reflect"
"strconv"

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"sync"
"unsafe"

View File

@ -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"

View File

@ -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

View File

@ -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)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)

View File

@ -1,7 +1,7 @@
package jsoniter
import (
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"sort"
"strings"

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"strconv"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"sort"
"unsafe"

View File

@ -3,7 +3,7 @@ package jsoniter
import (
"encoding"
"encoding/json"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"encoding/base64"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"strconv"
"unsafe"

View File

@ -1,7 +1,7 @@
package jsoniter
import (
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"reflect"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"unsafe"
)

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"strings"
"unsafe"

View File

@ -2,7 +2,7 @@ package jsoniter
import (
"fmt"
"github.com/v2pro/plz/reflect2"
"github.com/modern-go/reflect2"
"io"
"reflect"
"unsafe"

View File

@ -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"
)