Skip to content
Permalink
Browse files
refacotor: fmt
  • Loading branch information
PhilYue committed Dec 5, 2021
1 parent f604927 commit d9f84e00b162c73773cee634714bb2d70bccb42a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
@@ -22,7 +22,6 @@ import (
)

type (

ContextKey string

// Context run context
@@ -56,4 +55,4 @@ type (

func (c ContextKey) String() string {
return string(c)
}
}
@@ -20,18 +20,24 @@ package grpcproxy
import (
"context"
"fmt"
cnt "github.com/apache/dubbo-go-pixiu/pkg/context"
"github.com/apache/dubbo-go-pixiu/pkg/logger"
"io/ioutil"
"os"
"path/filepath"
"strings"
)

import (
"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/desc/protoparse"
"github.com/jhump/protoreflect/grpcreflect"
"github.com/pkg/errors"
"google.golang.org/grpc"
reflectpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha"
"io/ioutil"
"os"
"path/filepath"
"strings"
)

import (
cnt "github.com/apache/dubbo-go-pixiu/pkg/context"
"github.com/apache/dubbo-go-pixiu/pkg/logger"
)

type Descriptor struct {
@@ -19,14 +19,20 @@ package grpcproxy

import (
"fmt"
"github.com/apache/dubbo-go-pixiu/pkg/logger"
"sync"
)

import (
"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/dynamic"
"github.com/jhump/protoreflect/grpcreflect"
"github.com/pkg/errors"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"sync"
)

import (
"github.com/apache/dubbo-go-pixiu/pkg/logger"
)

type DescriptorSource interface {

0 comments on commit d9f84e0

Please sign in to comment.