From 9b1f7d2d07433f7887b64c4d51706947f893dd41 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Tue, 11 Oct 2022 10:40:44 +0800 Subject: [PATCH] refactor: move httpstat from hrp internal to pkg --- hrp/{internal => pkg}/httpstat/main.go | 0 hrp/pkg/uixt/interface.go | 1 - hrp/step_request.go | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename hrp/{internal => pkg}/httpstat/main.go (100%) diff --git a/hrp/internal/httpstat/main.go b/hrp/pkg/httpstat/main.go similarity index 100% rename from hrp/internal/httpstat/main.go rename to hrp/pkg/httpstat/main.go diff --git a/hrp/pkg/uixt/interface.go b/hrp/pkg/uixt/interface.go index 3ca14086..7e8f0400 100644 --- a/hrp/pkg/uixt/interface.go +++ b/hrp/pkg/uixt/interface.go @@ -468,7 +468,6 @@ type BySelector struct { Name string `json:"name"` Id string `json:"id"` AccessibilityId string `json:"accessibility id"` - // isSearchByIdentifier // partialSearch LinkText ElementAttribute `json:"link text"` diff --git a/hrp/step_request.go b/hrp/step_request.go index 47a9a242..cc656d34 100644 --- a/hrp/step_request.go +++ b/hrp/step_request.go @@ -21,8 +21,8 @@ import ( "github.com/rs/zerolog/log" "github.com/httprunner/httprunner/v4/hrp/internal/builtin" - "github.com/httprunner/httprunner/v4/hrp/internal/httpstat" "github.com/httprunner/httprunner/v4/hrp/internal/json" + "github.com/httprunner/httprunner/v4/hrp/pkg/httpstat" ) type HTTPMethod string