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

пакет images перенесен на уровень выше

parent f9b86f44
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
"context" "context"
"errors" "errors"
images "git.perx.ru/perxis/perxis-go/images"
files "git.perx.ru/perxis/perxis-go/pkg/files" files "git.perx.ru/perxis/perxis-go/pkg/files"
images "git.perx.ru/perxis/perxis-go/pkg/images"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
) )
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
package transport package transport
import ( import (
images "git.perx.ru/perxis/perxis-go/images"
files "git.perx.ru/perxis/perxis-go/pkg/files" files "git.perx.ru/perxis/perxis-go/pkg/files"
images "git.perx.ru/perxis/perxis-go/pkg/images"
) )
type ( type (
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
package transportgrpc package transportgrpc
import ( import (
transport "git.perx.ru/perxis/perxis-go/pkg/images/transport" transport "git.perx.ru/perxis/perxis-go/images/transport"
pb "git.perx.ru/perxis/perxis-go/proto/images" pb "git.perx.ru/perxis/perxis-go/proto/images"
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"
......
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"context" "context"
"errors" "errors"
transport "git.perx.ru/perxis/perxis-go/pkg/images/transport" transport "git.perx.ru/perxis/perxis-go/images/transport"
pb "git.perx.ru/perxis/perxis-go/proto/images" pb "git.perx.ru/perxis/perxis-go/proto/images"
) )
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
package transportgrpc package transportgrpc
import ( import (
service "git.perx.ru/perxis/perxis-go/images"
file "git.perx.ru/perxis/perxis-go/pkg/files" file "git.perx.ru/perxis/perxis-go/pkg/files"
service "git.perx.ru/perxis/perxis-go/pkg/images"
pbfile "git.perx.ru/perxis/perxis-go/proto/files" pbfile "git.perx.ru/perxis/perxis-go/proto/files"
pbimage "git.perx.ru/perxis/perxis-go/proto/images" pbimage "git.perx.ru/perxis/perxis-go/proto/images"
) )
...@@ -74,9 +74,9 @@ func ProtoToPtrGetOptions(protoOpts *pbimage.GetRequest_GetOptions) (*service.Ge ...@@ -74,9 +74,9 @@ func ProtoToPtrGetOptions(protoOpts *pbimage.GetRequest_GetOptions) (*service.Ge
} }
//func PtrFilesFileToProto(source *files.File) (*pbimage.File, error) { //func PtrFilesFileToProto(source *files.File) (*pbimage.File, error) {
// panic("function not provided") // TODO: provide converter // panic("function not provided") // TODO: provide convert
//} //}
// //
//func ProtoToPtrFilesFile(protoSource *images.File) (*files.File, error) { //func ProtoToPtrFilesFile(protoSource *images.File) (*files.File, error) {
// panic("function not provided") // TODO: provide converter // panic("function not provided") // TODO: provide convert
//} //}
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package transportgrpc package transportgrpc
import ( import (
transport "git.perx.ru/perxis/perxis-go/pkg/images/transport" transport "git.perx.ru/perxis/perxis-go/images/transport"
pb "git.perx.ru/perxis/perxis-go/proto/images" pb "git.perx.ru/perxis/perxis-go/proto/images"
grpc "github.com/go-kit/kit/transport/grpc" grpc "github.com/go-kit/kit/transport/grpc"
context "golang.org/x/net/context" context "golang.org/x/net/context"
......
...@@ -5,7 +5,7 @@ package transport ...@@ -5,7 +5,7 @@ package transport
import ( import (
"context" "context"
images "git.perx.ru/perxis/perxis-go/pkg/images" images "git.perx.ru/perxis/perxis-go/images"
endpoint "github.com/go-kit/kit/endpoint" endpoint "github.com/go-kit/kit/endpoint"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment