mirror of
https://github.com/smallnest/rpcx.git
synced 2025-10-07 09:01:01 +08:00
remove json-iterator to simpify deps
This commit is contained in:
@@ -3,6 +3,7 @@ package reflection
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
@@ -12,7 +13,6 @@ import (
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/ChimeraCoder/gojson"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
"github.com/smallnest/rpcx/log"
|
||||
)
|
||||
|
||||
@@ -21,10 +21,6 @@ var (
|
||||
typeOfContext = reflect.TypeOf((*context.Context)(nil)).Elem()
|
||||
)
|
||||
|
||||
var json = jsoniter.Config{
|
||||
TagKey: "-",
|
||||
}.Froze()
|
||||
|
||||
// ServiceInfo service info.
|
||||
type ServiceInfo struct {
|
||||
Name string
|
||||
|
Reference in New Issue
Block a user