move errors to internal
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
babd4f75b6
commit
c62755cdae
2
error.go
2
error.go
@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
pb "github.com/unistack-org/micro-server-grpc/errors"
|
||||
pb "github.com/unistack-org/micro-server-grpc/internal/errors"
|
||||
"github.com/unistack-org/micro/v3/errors"
|
||||
"google.golang.org/grpc/codes"
|
||||
)
|
||||
|
@ -1,3 +1,3 @@
|
||||
package grpc
|
||||
|
||||
//go:generate protoc -I./errors -I. --go-grpc_out=paths=source_relative:./errors --go_out=paths=source_relative:./errors --micro_out=paths=source_relative:./errors errors/errors.proto
|
||||
//go:generate protoc -I./internal/errors -I. --go-grpc_out=paths=source_relative:./internal/errors --go_out=paths=source_relative:./internal/errors --micro_out=paths=source_relative:./internal/errors internal/errors/errors.proto
|
||||
|
2
grpc.go
2
grpc.go
@ -15,7 +15,7 @@ import (
|
||||
"time"
|
||||
|
||||
oldproto "github.com/golang/protobuf/proto"
|
||||
pberr "github.com/unistack-org/micro-server-grpc/errors"
|
||||
pberr "github.com/unistack-org/micro-server-grpc/internal/errors"
|
||||
"github.com/unistack-org/micro/v3/broker"
|
||||
"github.com/unistack-org/micro/v3/errors"
|
||||
"github.com/unistack-org/micro/v3/logger"
|
||||
|
Loading…
x
Reference in New Issue
Block a user