Skip to content
Snippets Groups Projects
Commit 0dd6e951 authored by ko_oler's avatar ko_oler
Browse files

naming change

parent a98849e4
No related branches found
No related tags found
No related merge requests found
package action_url package actionurl
import ( import (
"fmt" "fmt"
......
package action_url package actionurl
import ( import (
"fmt" "fmt"
......
...@@ -3,7 +3,7 @@ package extension ...@@ -3,7 +3,7 @@ package extension
import ( import (
"context" "context"
"git.perx.ru/perxis/perxis-go/pkg/action_url" "git.perx.ru/perxis/perxis-go/pkg/actionurl"
"git.perx.ru/perxis/perxis-go/pkg/errors" "git.perx.ru/perxis/perxis-go/pkg/errors"
pb "git.perx.ru/perxis/perxis-go/proto/extensions" pb "git.perx.ru/perxis/perxis-go/proto/extensions"
) )
...@@ -83,7 +83,7 @@ func (srv *Server) Update(ctx context.Context, request *UpdateRequest) (*UpdateR ...@@ -83,7 +83,7 @@ func (srv *Server) Update(ctx context.Context, request *UpdateRequest) (*UpdateR
func (srv *Server) Action(ctx context.Context, in *pb.ActionRequest) (*pb.ActionResponse, error) { func (srv *Server) Action(ctx context.Context, in *pb.ActionRequest) (*pb.ActionResponse, error) {
ext := in.Extension ext := in.Extension
if ext == "" { if ext == "" {
actionURL, err := action_url.New(in.Action) actionURL, err := actionurl.New(in.Action)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
...@@ -4,7 +4,7 @@ import ( ...@@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "fmt"
"git.perx.ru/perxis/perxis-go/pkg/action_url" "git.perx.ru/perxis/perxis-go/pkg/actionurl"
"git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/pkg/clients"
"git.perx.ru/perxis/perxis-go/pkg/content" "git.perx.ru/perxis/perxis-go/pkg/content"
"git.perx.ru/perxis/perxis-go/pkg/errors" "git.perx.ru/perxis/perxis-go/pkg/errors"
...@@ -158,7 +158,7 @@ func (s *Extension) Uninstall(ctx context.Context, in *extension.UninstallReques ...@@ -158,7 +158,7 @@ func (s *Extension) Uninstall(ctx context.Context, in *extension.UninstallReques
func (s *Extension) Action(ctx context.Context, in *extension.ActionRequest) (*extension.ActionResponse, error) { func (s *Extension) Action(ctx context.Context, in *extension.ActionRequest) (*extension.ActionResponse, error) {
ext := in.Extension ext := in.Extension
if ext == "" { if ext == "" {
actionURL, err := action_url.New(in.Action) actionURL, err := actionurl.New(in.Action)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment