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 ( ...@@ -18,12 +18,12 @@ import (
itemsTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/items/transport/grpc" itemsTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/items/transport/grpc"
localesSvc "git.perx.ru/perxis/perxis-go/pkg/locales/middleware" localesSvc "git.perx.ru/perxis/perxis-go/pkg/locales/middleware"
localsTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/locales/transport/grpc" 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" rolesSvc "git.perx.ru/perxis/perxis-go/pkg/roles/middleware"
rolesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/roles/transport/grpc" rolesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/roles/transport/grpc"
spacesSvc "git.perx.ru/perxis/perxis-go/pkg/spaces/middleware" spacesSvc "git.perx.ru/perxis/perxis-go/pkg/spaces/middleware"
spacesTransportGrpc "git.perx.ru/perxis/perxis-go/pkg/spaces/transport/grpc" 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" "go.uber.org/zap"
"google.golang.org/grpc" "google.golang.org/grpc"
) )
......
...@@ -9,10 +9,10 @@ import ( ...@@ -9,10 +9,10 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/invitations" "git.perx.ru/perxis/perxis-go/pkg/invitations"
"git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/locales" "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/roles"
"git.perx.ru/perxis/perxis-go/pkg/spaces" "git.perx.ru/perxis/perxis-go/pkg/spaces"
"git.perx.ru/perxis/perxis-go/pkg/version" "git.perx.ru/perxis/perxis-go/pkg/version"
"git.perx.ru/perxis/perxis-go/references"
) )
type Runnable interface { type Runnable interface {
......
...@@ -3,8 +3,8 @@ package extension ...@@ -3,8 +3,8 @@ package extension
import ( import (
"strings" "strings"
"git.perx.ru/perxis/perxis-go/pkg/references"
pb "git.perx.ru/perxis/perxis-go/proto/extensions" pb "git.perx.ru/perxis/perxis-go/proto/extensions"
"git.perx.ru/perxis/perxis-go/references"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )
......
...@@ -6,10 +6,10 @@ import ( ...@@ -6,10 +6,10 @@ import (
"testing" "testing"
"git.perx.ru/perxis/perxis-go/pkg/collections" "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"
"git.perx.ru/perxis/perxis-go/pkg/schema/field" "git.perx.ru/perxis/perxis-go/pkg/schema/field"
"git.perx.ru/perxis/perxis-go/pkg/schema/validate" "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/assert"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
) )
......
File moved
File moved
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package middleware 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 ( import (
"context" "context"
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/items" "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" "go.uber.org/zap"
) )
......
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/collections" "git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/items" "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 для передаваемых данных // ClientEncodeMiddleware выполняет операции encode/decode для передаваемых данных
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
package middleware 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 ( import (
"context" "context"
"git.perx.ru/perxis/perxis-go/pkg/items" "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" "go.uber.org/zap"
) )
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
package middleware 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 ( import (
"git.perx.ru/perxis/perxis-go/pkg/references" "git.perx.ru/perxis/perxis-go/references"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
package middleware 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 ( import (
"context" "context"
"fmt" "fmt"
"git.perx.ru/perxis/perxis-go/pkg/items" "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" "go.uber.org/zap"
) )
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package middleware 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 ( import (
"context" "context"
...@@ -13,8 +13,8 @@ import ( ...@@ -13,8 +13,8 @@ import (
oid "git.perx.ru/perxis/perxis-go/id" oid "git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/items" "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/pkg/telemetry/metrics"
"git.perx.ru/perxis/perxis-go/references"
"go.opentelemetry.io/otel" "go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/attribute"
otelmetric "go.opentelemetry.io/otel/metric" otelmetric "go.opentelemetry.io/otel/metric"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
package mocks package mocks
import ( import (
references "git.perx.ru/perxis/perxis-go/pkg/references" references "git.perx.ru/perxis/perxis-go/references"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"
) )
......
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
items "git.perx.ru/perxis/perxis-go/pkg/items" items "git.perx.ru/perxis/perxis-go/pkg/items"
mock "github.com/stretchr/testify/mock" 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 // References is an autogenerated mock type for the References type
......
File moved
File moved
File moved
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
"context" "context"
items "git.perx.ru/perxis/perxis-go/pkg/items" 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) { 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 ...@@ -4,7 +4,7 @@ package transport
import ( import (
"git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/references" "git.perx.ru/perxis/perxis-go/references"
) )
type ( type (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment