update repo location

This commit is contained in:
Adrien Marquès 2018-06-15 15:28:28 +02:00
parent 1965389148
commit 8c22746375
8 changed files with 13 additions and 13 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# (1) Get default path # # (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 # fail if do not exist
test -d $DEFAULT_PATH || (echo "$DEFAULT_PATH does not exists.. aborting"; exit 1) || exit 1; test -d $DEFAULT_PATH || (echo "$DEFAULT_PATH does not exists.. aborting"; exit 1) || exit 1;

View File

@ -1,7 +1,7 @@
package implement package implement
import ( import (
"git.xdrm.io/xdrm-brackets/gfw/err" "git.xdrm.io/go/xb-api/err"
) )
func NewResponse() *Response { func NewResponse() *Response {

View File

@ -1,7 +1,7 @@
package implement package implement
import ( import (
"git.xdrm.io/xdrm-brackets/gfw/err" "git.xdrm.io/go/xb-api/err"
"sync" "sync"
) )

View File

@ -1,8 +1,8 @@
package gfw package gfw
import ( import (
"git.xdrm.io/xdrm-brackets/gfw/checker" "git.xdrm.io/go/xb-api/checker"
"git.xdrm.io/xdrm-brackets/gfw/config" "git.xdrm.io/go/xb-api/config"
) )
// Init initilises a new framework instance // Init initilises a new framework instance

View File

@ -3,7 +3,7 @@ package request
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"git.xdrm.io/xdrm-brackets/gfw/multipart" "git.xdrm.io/go/xb-api/multipart"
"log" "log"
"net/http" "net/http"
"strings" "strings"

View File

@ -3,7 +3,7 @@ package request
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"git.xdrm.io/xdrm-brackets/gfw/implement" "git.xdrm.io/go/xb-api/implement"
"log" "log"
"net/http" "net/http"
"plugin" "plugin"

View File

@ -2,10 +2,10 @@ package gfw
import ( import (
"encoding/json" "encoding/json"
"git.xdrm.io/xdrm-brackets/gfw/config" "git.xdrm.io/go/xb-api/config"
"git.xdrm.io/xdrm-brackets/gfw/err" "git.xdrm.io/go/xb-api/err"
"git.xdrm.io/xdrm-brackets/gfw/implement" "git.xdrm.io/go/xb-api/implement"
"git.xdrm.io/xdrm-brackets/gfw/request" "git.xdrm.io/go/xb-api/request"
"log" "log"
"net/http" "net/http"
) )

View File

@ -1,8 +1,8 @@
package gfw package gfw
import ( import (
"git.xdrm.io/xdrm-brackets/gfw/checker" "git.xdrm.io/go/xb-api/checker"
"git.xdrm.io/xdrm-brackets/gfw/config" "git.xdrm.io/go/xb-api/config"
) )
type Server struct { type Server struct {