diff --git a/build-types.sh b/build-types.sh index fc57ea6..2e03a1b 100644 --- a/build-types.sh +++ b/build-types.sh @@ -1,7 +1,7 @@ #!/bin/bash # (1) Get default path # -DEFAULT_PATH="`realpath $GOPATH`/src/git.xdrm.io/xdrm-brackets/gfw/checker/default"; +DEFAULT_PATH="`realpath $GOPATH`/src/git.xdrm.io/go/xb-api/checker/default"; # fail if do not exist test -d $DEFAULT_PATH || (echo "$DEFAULT_PATH does not exists.. aborting"; exit 1) || exit 1; diff --git a/implement/response.go b/implement/response.go index f3acc89..f1ac841 100644 --- a/implement/response.go +++ b/implement/response.go @@ -1,7 +1,7 @@ package implement import ( - "git.xdrm.io/xdrm-brackets/gfw/err" + "git.xdrm.io/go/xb-api/err" ) func NewResponse() *Response { diff --git a/implement/types.go b/implement/types.go index ce453c1..a54f09a 100644 --- a/implement/types.go +++ b/implement/types.go @@ -1,7 +1,7 @@ package implement import ( - "git.xdrm.io/xdrm-brackets/gfw/err" + "git.xdrm.io/go/xb-api/err" "sync" ) diff --git a/loader.go b/loader.go index a8ee167..2ae7a9e 100644 --- a/loader.go +++ b/loader.go @@ -1,8 +1,8 @@ package gfw import ( - "git.xdrm.io/xdrm-brackets/gfw/checker" - "git.xdrm.io/xdrm-brackets/gfw/config" + "git.xdrm.io/go/xb-api/checker" + "git.xdrm.io/go/xb-api/config" ) // Init initilises a new framework instance diff --git a/request/dataset.go b/request/dataset.go index 4568f16..54fcd39 100644 --- a/request/dataset.go +++ b/request/dataset.go @@ -3,7 +3,7 @@ package request import ( "encoding/json" "fmt" - "git.xdrm.io/xdrm-brackets/gfw/multipart" + "git.xdrm.io/go/xb-api/multipart" "log" "net/http" "strings" diff --git a/request/request.go b/request/request.go index 3fdff53..319a46e 100644 --- a/request/request.go +++ b/request/request.go @@ -3,7 +3,7 @@ package request import ( "encoding/json" "fmt" - "git.xdrm.io/xdrm-brackets/gfw/implement" + "git.xdrm.io/go/xb-api/implement" "log" "net/http" "plugin" diff --git a/router.go b/router.go index 5b0ae2d..2585dbb 100644 --- a/router.go +++ b/router.go @@ -2,10 +2,10 @@ package gfw import ( "encoding/json" - "git.xdrm.io/xdrm-brackets/gfw/config" - "git.xdrm.io/xdrm-brackets/gfw/err" - "git.xdrm.io/xdrm-brackets/gfw/implement" - "git.xdrm.io/xdrm-brackets/gfw/request" + "git.xdrm.io/go/xb-api/config" + "git.xdrm.io/go/xb-api/err" + "git.xdrm.io/go/xb-api/implement" + "git.xdrm.io/go/xb-api/request" "log" "net/http" ) diff --git a/types.go b/types.go index c1ef456..46e2914 100644 --- a/types.go +++ b/types.go @@ -1,8 +1,8 @@ package gfw import ( - "git.xdrm.io/xdrm-brackets/gfw/checker" - "git.xdrm.io/xdrm-brackets/gfw/config" + "git.xdrm.io/go/xb-api/checker" + "git.xdrm.io/go/xb-api/config" ) type Server struct {