mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
remove pb ecode
This commit is contained in:
parent
6d2a0f4b3f
commit
5d95b333f1
@ -11,7 +11,7 @@ import (
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"github.com/bilibili/kratos/pkg/ecode"
|
||||
"github.com/bilibili/kratos/pkg/ecode/pb"
|
||||
"github.com/bilibili/kratos/pkg/net/rpc/warden/internal/pb"
|
||||
)
|
||||
|
||||
// togRPCCode convert ecode.Codo to gRPC code
|
||||
|
@ -15,7 +15,7 @@ import (
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"github.com/bilibili/kratos/pkg/ecode"
|
||||
"github.com/bilibili/kratos/pkg/ecode/pb"
|
||||
"github.com/bilibili/kratos/pkg/net/rpc/warden/internal/pb"
|
||||
)
|
||||
|
||||
func TestCodeConvert(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user