remove json-iterator to simpify deps

This commit is contained in:
smallnest
2024-04-23 19:22:55 +08:00
parent 1e2af18dd0
commit 6fcbb3ba58
6 changed files with 3 additions and 35 deletions

View File

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