Skip to content
Snippets Groups Projects
Commit 063c9e71 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov :dog2:
Browse files

pkg references moved from pkg

parent 0dd516f1
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
......@@ -18,12 +18,12 @@ import (
itemsTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/items/transport/grpc"
localesSvc "git.perx.ru/perxis/perxis-go/pkg/locales/middleware"
localsTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/locales/transport/grpc"
referencesSvc "git.perx.ru/perxis/perxis-go/pkg/references/middleware"
referencesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/references/transport/grpc"
rolesSvc "git.perx.ru/perxis/perxis-go/pkg/roles/middleware"
rolesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/roles/transport/grpc"
spacesSvc "git.perx.ru/perxis/perxis-go/pkg/spaces/middleware"
spacesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/spaces/transport/grpc"
referencesSvc "git.perx.ru/perxis/perxis-go/references/middleware"
referencesTransportGrpc "git.perx.ru/perxis/perxis-go/references/transport/grpc"
"go.uber.org/zap"
"google.golang.org/grpc"
)
......
......@@ -9,10 +9,10 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/invitations"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/locales"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/pkg/roles"
"git.perx.ru/perxis/perxis-go/pkg/spaces"
"git.perx.ru/perxis/perxis-go/pkg/version"
"git.perx.ru/perxis/perxis-go/references"
)
type Runnable interface {
......
......@@ -3,8 +3,8 @@ package extension
import (
"strings"
"git.perx.ru/perxis/perxis-go/pkg/references"
pb "git.perx.ru/perxis/perxis-go/proto/extensions"
"git.perx.ru/perxis/perxis-go/references"
"github.com/mitchellh/mapstructure"
)
......
......@@ -6,10 +6,10 @@ import (
"testing"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/schema/field"
"git.perx.ru/perxis/perxis-go/pkg/schema/validate"
"git.perx.ru/perxis/perxis-go/references"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
......
File moved
File moved
......@@ -4,7 +4,7 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/references -i References -t ../../../assets/templates/middleware/access_log.tmpl -o access_logging_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/references -i References -t ../../../assets/templates/middleware/access_log.tmpl -o access_logging_middleware.go -l ""
import (
"context"
......@@ -12,7 +12,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
"go.uber.org/zap"
)
......
......@@ -5,7 +5,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
)
// ClientEncodeMiddleware выполняет операции encode/decode для передаваемых данных
......
......@@ -4,13 +4,13 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/references -i References -t ../../../assets/templates/middleware/error_log -o error_logging_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/references -i References -t ../../../assets/templates/middleware/error_log -o error_logging_middleware.go -l ""
import (
"context"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
"go.uber.org/zap"
)
......
......@@ -4,10 +4,10 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/references -i References -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/references -i References -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l ""
import (
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
"go.uber.org/zap"
)
......
......@@ -4,14 +4,14 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/references -i References -t ../../../assets/templates/middleware/recovery -o recovering_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/references -i References -t ../../../assets/templates/middleware/recovery -o recovering_middleware.go -l ""
import (
"context"
"fmt"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
"go.uber.org/zap"
)
......
......@@ -4,7 +4,7 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/references -i References -t ../../../assets/templates/middleware/telemetry_content -o telemetry_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/references -i References -t ../../../assets/templates/middleware/telemetry_content -o telemetry_middleware.go -l ""
import (
"context"
......@@ -13,8 +13,8 @@ import (
oid "git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics"
"git.perx.ru/perxis/perxis-go/references"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
otelmetric "go.opentelemetry.io/otel/metric"
......
......@@ -3,7 +3,7 @@
package mocks
import (
references "git.perx.ru/perxis/perxis-go/pkg/references"
references "git.perx.ru/perxis/perxis-go/references"
mock "github.com/stretchr/testify/mock"
)
......
......@@ -8,7 +8,7 @@ import (
items "git.perx.ru/perxis/perxis-go/pkg/items"
mock "github.com/stretchr/testify/mock"
references "git.perx.ru/perxis/perxis-go/pkg/references"
references "git.perx.ru/perxis/perxis-go/references"
)
// References is an autogenerated mock type for the References type
......
File moved
File moved
File moved
......@@ -6,7 +6,7 @@ import (
"context"
items "git.perx.ru/perxis/perxis-go/pkg/items"
references "git.perx.ru/perxis/perxis-go/pkg/references"
references "git.perx.ru/perxis/perxis-go/references"
)
func (set EndpointsSet) Get(arg0 context.Context, arg1 string, arg2 string, arg3 []*references.Reference, arg4 ...*references.GetOptions) (res0 []*items.Item, res1 []*references.Reference, res2 error) {
......
......@@ -4,7 +4,7 @@ package transport
import (
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references"
"git.perx.ru/perxis/perxis-go/references"
)
type (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment