move errors to internal

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-09-28 12:12:52 +03:00
parent babd4f75b6
commit c62755cdae
7 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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