diff --git a/command_filter.go b/command_filter.go index 86f96adf20cd2daf655873c3315ae3994d939d86..fa345746b6f995c6923252ea86101737b968c095 100644 --- a/command_filter.go +++ b/command_filter.go @@ -1,8 +1,8 @@ package common_engine import ( - "common_engine/common/status" "context" + "gitee.com/coder_vector/common_engine/common/status" "strings" ) diff --git a/default_transfer.go b/default_transfer.go index ced98c6186eae09966b70cbbc9660ca302c1a2bf..51f336398e0d0b1c96b0e09f5c2b9779b9bd866e 100644 --- a/default_transfer.go +++ b/default_transfer.go @@ -1,9 +1,9 @@ package common_engine import ( - "common_engine/common/status" - "common_engine/matcher" "context" + "gitee.com/coder_vector/common_engine/common/status" + "gitee.com/coder_vector/common_engine/matcher" "math" "regexp" "sort" diff --git a/matcher/http.go b/matcher/http.go index 77ded0fd67767a0e07b038581b10add827ed71d4..7e85b842ca8141d570d6b5e7b1e9f9c69f5f90f0 100644 --- a/matcher/http.go +++ b/matcher/http.go @@ -1,8 +1,8 @@ package matcher import ( - "common_engine/common/status" "fmt" + "gitee.com/coder_vector/common_engine/common/status" "net/url" "strings" ) diff --git a/matcher/json.go b/matcher/json.go index 5ecf5c4081319f75edde2da6a6de37416131d0db..b7ac2eee26c8b8102617101af147e2a6ef4f8eb3 100644 --- a/matcher/json.go +++ b/matcher/json.go @@ -1,9 +1,9 @@ package matcher import ( - "common_engine/common/status" "encoding/json" "fmt" + "gitee.com/coder_vector/common_engine/common/status" ) func init() { diff --git a/matcher/number.go b/matcher/number.go index d6596c6b45aca30c673646b02ab07c65945fb2e5..7b471a9fefcc987d3946cc5c28f09674dd0adff8 100644 --- a/matcher/number.go +++ b/matcher/number.go @@ -1,8 +1,8 @@ package matcher import ( - "common_engine/common/status" "fmt" + "gitee.com/coder_vector/common_engine/common/status" "strconv" "strings" ) diff --git a/matcher/path.go b/matcher/path.go index 2c6cc40158197673a9cd4083967b4bdf62fdc327..681e64d327971f104f619ec1d7cfac6fc7be3d31 100644 --- a/matcher/path.go +++ b/matcher/path.go @@ -1,8 +1,8 @@ package matcher import ( - "common_engine/common/status" "fmt" + "gitee.com/coder_vector/common_engine/common/status" "io/fs" "os" ) diff --git a/matcher/string.go b/matcher/string.go index 3fa380620e79ebad7535a897e54218416f73d80a..2b9aa38055791004d2a26c9a619234e18403873a 100644 --- a/matcher/string.go +++ b/matcher/string.go @@ -1,8 +1,8 @@ package matcher import ( - "common_engine/common/status" "encoding/json" + "gitee.com/coder_vector/common_engine/common/status" ) func init() { diff --git a/pool.go b/pool.go index 583c2fe7f61ed96af0b5023425e5c6af30bce692..18bb6b4f3f852332898fc706ee539410fcb52fbb 100644 --- a/pool.go +++ b/pool.go @@ -1,7 +1,7 @@ package common_engine import ( - "common_engine/common/constant" + "gitee.com/coder_vector/common_engine/common/constant" "github.com/panjf2000/ants" ) diff --git a/result.go b/result.go index b8f75a14381e9991561fa1fd330ceed12793a8b9..ad508c7f9182c1296dbba897f624a0fe8e058fe2 100644 --- a/result.go +++ b/result.go @@ -1,8 +1,8 @@ package common_engine import ( - "common_engine/common/status" "errors" + "gitee.com/coder_vector/common_engine/common/status" ) type Response interface { diff --git a/sync_engine.go b/sync_engine.go index 84502d3a6e2ac2c8115267aec0c6516b3291f34d..70df4556da6c5e0cd8f2ef35dad3658da7b6a693 100644 --- a/sync_engine.go +++ b/sync_engine.go @@ -1,8 +1,8 @@ package common_engine import ( - "common_engine/common/status" "context" + "gitee.com/coder_vector/common_engine/common/status" "strings" "sync" ) @@ -106,13 +106,13 @@ func (e *syncEngine) Running() error { // parse task commands var taskPart []*TaskPart if taskPart, err = e.transfer.DoParse(e.ctx, innerTa); err != nil { - return nil,err + return nil, err } //do match var taskCommand []*TaskCommand if taskCommand, err = e.transfer.DoMatch(e.ctx, e.commandHandlers, taskPart); err != nil { - return nil,err + return nil, err } innerTa.commands = taskCommand diff --git a/transfer.go b/transfer.go index a727958c0bdd3539bb0134e3841061f6c0d78456..ce1e2b99ddd3cd4ad8942f8efe03fcb9233f0b21 100644 --- a/transfer.go +++ b/transfer.go @@ -1,8 +1,8 @@ package common_engine import ( - "common_engine/matcher" "context" + "gitee.com/coder_vector/common_engine/matcher" ) type Transfer interface {