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

naming change

parent a98849e4
Branches
No related tags found
No related merge requests found
package action_url
package actionurl
import (
"fmt"
......
package action_url
package actionurl
import (
"fmt"
......
......@@ -3,7 +3,7 @@ package extension
import (
"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"
pb "git.perx.ru/perxis/perxis-go/proto/extensions"
)
......@@ -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) {
ext := in.Extension
if ext == "" {
actionURL, err := action_url.New(in.Action)
actionURL, err := actionurl.New(in.Action)
if err != nil {
return nil, err
}
......
......@@ -4,7 +4,7 @@ import (
"context"
"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/content"
"git.perx.ru/perxis/perxis-go/pkg/errors"
......@@ -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) {
ext := in.Extension
if ext == "" {
actionURL, err := action_url.New(in.Action)
actionURL, err := actionurl.New(in.Action)
if err != nil {
return nil, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment