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

pkg clients moved from pkg

parent e9bfef42
No related branches found
No related tags found
No related merge requests found
Showing
with 15 additions and 15 deletions
File moved
File moved
File moved
...@@ -10,8 +10,8 @@ import ( ...@@ -10,8 +10,8 @@ import (
"context" "context"
"time" "time"
"git.perx.ru/perxis/perxis-go/clients"
"git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/auth"
"git.perx.ru/perxis/perxis-go/pkg/clients"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -4,8 +4,8 @@ import ( ...@@ -4,8 +4,8 @@ import (
"context" "context"
"strings" "strings"
service "git.perx.ru/perxis/perxis-go/clients"
"git.perx.ru/perxis/perxis-go/pkg/cache" "git.perx.ru/perxis/perxis-go/pkg/cache"
service "git.perx.ru/perxis/perxis-go/pkg/clients"
"git.perx.ru/perxis/perxis-go/pkg/data" "git.perx.ru/perxis/perxis-go/pkg/data"
) )
......
...@@ -5,9 +5,9 @@ import ( ...@@ -5,9 +5,9 @@ import (
"testing" "testing"
"time" "time"
"git.perx.ru/perxis/perxis-go/clients"
csmocks "git.perx.ru/perxis/perxis-go/clients/mocks"
"git.perx.ru/perxis/perxis-go/pkg/cache" "git.perx.ru/perxis/perxis-go/pkg/cache"
"git.perx.ru/perxis/perxis-go/pkg/clients"
csmocks "git.perx.ru/perxis/perxis-go/pkg/clients/mocks"
"git.perx.ru/perxis/perxis-go/pkg/errors" "git.perx.ru/perxis/perxis-go/pkg/errors"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
......
...@@ -9,7 +9,7 @@ package middleware ...@@ -9,7 +9,7 @@ package middleware
import ( import (
"context" "context"
"git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/clients"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -3,8 +3,8 @@ package middleware ...@@ -3,8 +3,8 @@ package middleware
import ( import (
"context" "context"
"git.perx.ru/perxis/perxis-go/clients"
"git.perx.ru/perxis/perxis-go/id" "git.perx.ru/perxis/perxis-go/id"
"git.perx.ru/perxis/perxis-go/pkg/clients"
logzap "git.perx.ru/perxis/perxis-go/zap" logzap "git.perx.ru/perxis/perxis-go/zap"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -7,7 +7,7 @@ package middleware ...@@ -7,7 +7,7 @@ package middleware
//go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/clients -i Clients -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l "" //go:generate gowrap gen -p git.perx.ru/perxis/perxis-go/pkg/clients -i Clients -t ../../../assets/templates/middleware/middleware.tmpl -o middleware.go -l ""
import ( import (
"git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/clients"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"context" "context"
"fmt" "fmt"
"git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/clients"
"go.uber.org/zap" "go.uber.org/zap"
) )
......
...@@ -10,9 +10,9 @@ import ( ...@@ -10,9 +10,9 @@ import (
"context" "context"
"time" "time"
"git.perx.ru/perxis/perxis-go/clients"
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/clients"
"git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics"
"go.opentelemetry.io/otel" "go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/attribute"
......
...@@ -5,7 +5,7 @@ package mocks ...@@ -5,7 +5,7 @@ package mocks
import ( import (
context "context" context "context"
clients "git.perx.ru/perxis/perxis-go/pkg/clients" clients "git.perx.ru/perxis/perxis-go/clients"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"
) )
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
package mocks package mocks
import ( import (
clients "git.perx.ru/perxis/perxis-go/pkg/clients" clients "git.perx.ru/perxis/perxis-go/clients"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"
) )
......
...@@ -5,7 +5,7 @@ package mocks ...@@ -5,7 +5,7 @@ package mocks
import ( import (
context "context" context "context"
clients "git.perx.ru/perxis/perxis-go/pkg/clients" clients "git.perx.ru/perxis/perxis-go/clients"
mock "github.com/stretchr/testify/mock" mock "github.com/stretchr/testify/mock"
......
File moved
File moved
...@@ -4,7 +4,7 @@ package transport ...@@ -4,7 +4,7 @@ package transport
import ( import (
"context" "context"
clients "git.perx.ru/perxis/perxis-go/pkg/clients" clients "git.perx.ru/perxis/perxis-go/clients"
) )
func (set EndpointsSet) Create(arg0 context.Context, arg1 *clients.Client) (res0 *clients.Client, res1 error) { func (set EndpointsSet) Create(arg0 context.Context, arg1 *clients.Client) (res0 *clients.Client, res1 error) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
package transport package transport
import clients "git.perx.ru/perxis/perxis-go/pkg/clients" import clients "git.perx.ru/perxis/perxis-go/clients"
type ( type (
CreateRequest struct { CreateRequest struct {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
package transportgrpc package transportgrpc
import ( import (
transport "git.perx.ru/perxis/perxis-go/pkg/clients/transport" transport "git.perx.ru/perxis/perxis-go/clients/transport"
grpcerr "git.perx.ru/perxis/perxis-go/pkg/errors/grpc" grpcerr "git.perx.ru/perxis/perxis-go/pkg/errors/grpc"
grpckit "github.com/go-kit/kit/transport/grpc" grpckit "github.com/go-kit/kit/transport/grpc"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment