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

pkg organizations moved from pkg

parent 0dd516f1
Branches
Tags
No related merge requests found
Showing
with 21 additions and 21 deletions
......@@ -5,13 +5,13 @@ import (
"reflect"
"git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/clients"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/environments"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/locales"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"git.perx.ru/perxis/perxis-go/pkg/roles"
"git.perx.ru/perxis/perxis-go/pkg/spaces"
"git.perx.ru/perxis/perxis-go/pkg/users"
......
......@@ -5,12 +5,12 @@ import (
"git.perx.ru/perxis/perxis-go/id"
_ "git.perx.ru/perxis/perxis-go/id/system"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/clients"
"git.perx.ru/perxis/perxis-go/pkg/collections"
"git.perx.ru/perxis/perxis-go/pkg/environments"
"git.perx.ru/perxis/perxis-go/pkg/items"
"git.perx.ru/perxis/perxis-go/pkg/locales"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"git.perx.ru/perxis/perxis-go/pkg/roles"
"git.perx.ru/perxis/perxis-go/pkg/spaces"
"git.perx.ru/perxis/perxis-go/pkg/users"
......
File moved
......@@ -4,15 +4,15 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/organizations -i Organizations -t ../../../assets/templates/middleware/access_log.tmpl -o access_logging_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/organizations -i Organizations -t ../../../assets/templates/middleware/access_log.tmpl -o access_logging_middleware.go -l ""
import (
"context"
"time"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/options"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"go.uber.org/zap"
)
......
......@@ -3,9 +3,9 @@ package middleware
import (
"context"
service "git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/cache"
"git.perx.ru/perxis/perxis-go/pkg/options"
service "git.perx.ru/perxis/perxis-go/pkg/organizations"
)
func CachingMiddleware(cache cache.Cache) Middleware {
......
......@@ -5,10 +5,10 @@ import (
"testing"
"time"
"git.perx.ru/perxis/perxis-go/organizations"
mocksorgs "git.perx.ru/perxis/perxis-go/organizations/mocks"
"git.perx.ru/perxis/perxis-go/pkg/cache"
"git.perx.ru/perxis/perxis-go/pkg/errors"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
mocksorgs "git.perx.ru/perxis/perxis-go/pkg/organizations/mocks"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
......
......@@ -4,13 +4,13 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/organizations -i Organizations -t ../../../assets/templates/middleware/error_log -o error_logging_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/organizations -i Organizations -t ../../../assets/templates/middleware/error_log -o error_logging_middleware.go -l ""
import (
"context"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/options"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"go.uber.org/zap"
)
......
......@@ -4,7 +4,7 @@ import (
"context"
"git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/options"
logzap "git.perx.ru/perxis/perxis-go/zap"
......
......@@ -4,10 +4,10 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/organizations -i Organizations -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/organizations -i Organizations -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l ""
import (
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"git.perx.ru/perxis/perxis-go/organizations"
"go.uber.org/zap"
)
......
......@@ -4,14 +4,14 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/organizations -i Organizations -t ../../../assets/templates/middleware/recovery -o recovering_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/organizations -i Organizations -t ../../../assets/templates/middleware/recovery -o recovering_middleware.go -l ""
import (
"context"
"fmt"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/options"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"go.uber.org/zap"
)
......
......@@ -4,16 +4,16 @@
package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/organizations -i Organizations -t ../../../assets/templates/middleware/telemetry_default -o telemetry_middleware.go -l ""
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/organizations -i Organizations -t ../../../assets/templates/middleware/telemetry_default -o telemetry_middleware.go -l ""
import (
"context"
"time"
oid "git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/organizations"
"git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/options"
"git.perx.ru/perxis/perxis-go/pkg/organizations"
"git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
......
......@@ -3,7 +3,7 @@
package mocks
import (
organizations "git.perx.ru/perxis/perxis-go/pkg/organizations"
organizations "git.perx.ru/perxis/perxis-go/organizations"
mock "github.com/stretchr/testify/mock"
)
......
......@@ -8,7 +8,7 @@ import (
options "git.perx.ru/perxis/perxis-go/pkg/options"
mock "github.com/stretchr/testify/mock"
organizations "git.perx.ru/perxis/perxis-go/pkg/organizations"
organizations "git.perx.ru/perxis/perxis-go/organizations"
)
// Organizations is an autogenerated mock type for the Organizations type
......
......@@ -8,7 +8,7 @@ import (
options "git.perx.ru/perxis/perxis-go/pkg/options"
mock "github.com/stretchr/testify/mock"
organizations "git.perx.ru/perxis/perxis-go/pkg/organizations"
organizations "git.perx.ru/perxis/perxis-go/organizations"
)
// Storage is an autogenerated mock type for the Storage type
......
File moved
File moved
File moved
......@@ -5,8 +5,8 @@ package transport
import (
"context"
organizations "git.perx.ru/perxis/perxis-go/organizations"
options "git.perx.ru/perxis/perxis-go/pkg/options"
organizations "git.perx.ru/perxis/perxis-go/pkg/organizations"
)
func (set EndpointsSet) Create(arg0 context.Context, arg1 *organizations.Organization) (res0 *organizations.Organization, res1 error) {
......
......@@ -3,8 +3,8 @@
package transport
import (
organizations "git.perx.ru/perxis/perxis-go/organizations"
options "git.perx.ru/perxis/perxis-go/pkg/options"
organizations "git.perx.ru/perxis/perxis-go/pkg/organizations"
)
type (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment