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

pkg schema moved from pkg

parent 0dd516f1
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 25 deletions
......@@ -5,7 +5,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/data"
"git.perx.ru/perxis/perxis-go/pkg/permission"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
)
// Config
......
......@@ -6,7 +6,7 @@ import (
"time"
"git.perx.ru/perxis/perxis-go/pkg/optional"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
jsoniter "github.com/json-iterator/go"
)
......
......@@ -4,8 +4,8 @@ import (
"testing"
"git.perx.ru/perxis/perxis-go/pkg/optional"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/schema/field"
"git.perx.ru/perxis/perxis-go/schema"
"git.perx.ru/perxis/perxis-go/schema/field"
jsoniter "github.com/json-iterator/go"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
......
......@@ -12,7 +12,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
"go.uber.org/zap"
)
......
......@@ -6,7 +6,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/cache"
service "git.perx.ru/perxis/perxis-go/pkg/collections"
envService "git.perx.ru/perxis/perxis-go/pkg/environments"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
)
func makeKey(spaceId, envId, collectionId string, disableSchemaIncludes bool) string {
......
......@@ -11,7 +11,7 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/environments"
envmocks "git.perx.ru/perxis/perxis-go/pkg/environments/mocks"
"git.perx.ru/perxis/perxis-go/pkg/errors"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
......
......@@ -5,7 +5,7 @@ import (
"git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
logzap "git.perx.ru/perxis/perxis-go/zap"
"go.uber.org/zap"
)
......
......@@ -11,7 +11,7 @@ import (
"fmt"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
"go.uber.org/zap"
)
......
......@@ -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/collections"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics"
"git.perx.ru/perxis/perxis-go/schema"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
otelmetric "go.opentelemetry.io/otel/metric"
......
......@@ -9,7 +9,7 @@ import (
mock "github.com/stretchr/testify/mock"
schema "git.perx.ru/perxis/perxis-go/pkg/schema"
schema "git.perx.ru/perxis/perxis-go/schema"
)
// Collections is an autogenerated mock type for the Collections type
......
......@@ -3,7 +3,7 @@ package collections
import (
"context"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/schema"
)
// @microgen grpc
......
......@@ -6,7 +6,7 @@ import (
"context"
collections "git.perx.ru/perxis/perxis-go/pkg/collections"
schema "git.perx.ru/perxis/perxis-go/pkg/schema"
schema "git.perx.ru/perxis/perxis-go/schema"
)
func (set EndpointsSet) Create(arg0 context.Context, arg1 *collections.Collection) (res0 *collections.Collection, res1 error) {
......
......@@ -4,7 +4,7 @@ package transport
import (
collections "git.perx.ru/perxis/perxis-go/pkg/collections"
schema "git.perx.ru/perxis/perxis-go/pkg/schema"
schema "git.perx.ru/perxis/perxis-go/schema"
)
type (
......
......@@ -9,9 +9,9 @@ import (
service "git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/permission"
schema "git.perx.ru/perxis/perxis-go/pkg/schema"
pb "git.perx.ru/perxis/perxis-go/proto/collections"
commonpb "git.perx.ru/perxis/perxis-go/proto/common"
schema "git.perx.ru/perxis/perxis-go/schema"
jsoniter "github.com/json-iterator/go"
"google.golang.org/protobuf/types/known/durationpb"
"google.golang.org/protobuf/types/known/timestamppb"
......
......@@ -13,13 +13,13 @@ import (
items "git.perx.ru/perxis/perxis-go/pkg/items"
locales "git.perx.ru/perxis/perxis-go/pkg/locales"
services "git.perx.ru/perxis/perxis-go/pkg/options"
"git.perx.ru/perxis/perxis-go/pkg/schema"
collectionspb "git.perx.ru/perxis/perxis-go/proto/collections"
"git.perx.ru/perxis/perxis-go/proto/common"
"git.perx.ru/perxis/perxis-go/proto/delivery"
environmentspb "git.perx.ru/perxis/perxis-go/proto/environments"
itemspb "git.perx.ru/perxis/perxis-go/proto/items"
localespb "git.perx.ru/perxis/perxis-go/proto/locales"
"git.perx.ru/perxis/perxis-go/schema"
"google.golang.org/protobuf/types/known/structpb"
"google.golang.org/protobuf/types/known/timestamppb"
)
......
......@@ -10,9 +10,9 @@ import (
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/content"
"git.perx.ru/perxis/perxis-go/pkg/errors"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/setup"
pb "git.perx.ru/perxis/perxis-go/proto/extensions"
"git.perx.ru/perxis/perxis-go/schema"
)
const (
......
......@@ -8,9 +8,9 @@ import (
"go.uber.org/zap/zaptest/observer"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/schema/field"
"git.perx.ru/perxis/perxis-go/pkg/setup"
"git.perx.ru/perxis/perxis-go/schema"
"git.perx.ru/perxis/perxis-go/schema/field"
"github.com/stretchr/testify/assert"
)
......
......@@ -7,9 +7,9 @@ import (
"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/schema"
"git.perx.ru/perxis/perxis-go/schema/field"
"git.perx.ru/perxis/perxis-go/schema/validate"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
......
......@@ -9,8 +9,8 @@ import (
"reflect"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/schema/field"
signer "git.perx.ru/perxis/perxis-go/pkg/urlsigner"
"git.perx.ru/perxis/perxis-go/schema/field"
"github.com/mitchellh/mapstructure"
)
......
......@@ -3,8 +3,8 @@ package files
import (
"testing"
"git.perx.ru/perxis/perxis-go/pkg/schema"
"git.perx.ru/perxis/perxis-go/pkg/schema/field"
"git.perx.ru/perxis/perxis-go/schema"
"git.perx.ru/perxis/perxis-go/schema/field"
"github.com/stretchr/testify/assert"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment