This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch tmp-go
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
The following commit(s) were added to refs/heads/tmp-go by this push:
new 53311464 fix package name
53311464 is described below
commit 53311464b1f30e085fa942b07adeec26f6ddf31f
Author: izliang <[email protected]>
AuthorDate: Mon Oct 30 16:10:31 2023 +0800
fix package name
Change-Id: Ia7f2582cd67a066ebb610d7b049f2393edf85521
---
hugegraph-client-go/README.en.md | 4 ++--
hugegraph-client-go/README.md | 6 +++---
hugegraph-client-go/api/api.go | 4 ++--
hugegraph-client-go/api/v1/api._.go | 2 +-
hugegraph-client-go/api/v1/api.veretx.create.go | 6 +++---
hugegraph-client-go/api/v1/api.veretx.create_test.go | 4 ++--
hugegraph-client-go/api/v1/api.version.go | 4 ++--
hugegraph-client-go/api/v1/api.version_test.go | 6 +++---
hugegraph-client-go/go.mod | 2 +-
hugegraph-client-go/hgtransport/hgtransport.go | 2 +-
hugegraph-client-go/hugegraph.go | 4 ++--
11 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/hugegraph-client-go/README.en.md b/hugegraph-client-go/README.en.md
index 8ce666d0..d27f42d5 100644
--- a/hugegraph-client-go/README.en.md
+++ b/hugegraph-client-go/README.en.md
@@ -30,8 +30,8 @@ Go get github. com/go huggraph
```Go
package main
-import "hugegraph.apache.org/client-go"
-import "hugegraph.apache.org/client-go/hgtransport"
+import "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go"
+import
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
func main() {
diff --git a/hugegraph-client-go/README.md b/hugegraph-client-go/README.md
index 252aded5..11af9f7a 100644
--- a/hugegraph-client-go/README.md
+++ b/hugegraph-client-go/README.md
@@ -11,7 +11,7 @@
#### 安装教程
```shell
-go get hugegraph.apache.org/client-go
+go get github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go
```
#### 实现 API
@@ -28,8 +28,8 @@ go get hugegraph.apache.org/client-go
```go
package main
-import "hugegraph.apache.org/client-go"
-import "hugegraph.apache.org/client-go/hgtransport"
+import "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go"
+import
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
func main() {
diff --git a/hugegraph-client-go/api/api.go b/hugegraph-client-go/api/api.go
index 30dd1aaf..ac1ec92d 100644
--- a/hugegraph-client-go/api/api.go
+++ b/hugegraph-client-go/api/api.go
@@ -22,8 +22,8 @@ import (
"strconv"
"time"
- "hugegraph.apache.org/client-go/hgtransport"
- "hugegraph.apache.org/client-go/internal/version"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/internal/version"
)
// VERSION returns the package version as a string.
diff --git a/hugegraph-client-go/api/v1/api._.go
b/hugegraph-client-go/api/v1/api._.go
index 113e7964..f290a5d4 100644
--- a/hugegraph-client-go/api/v1/api._.go
+++ b/hugegraph-client-go/api/v1/api._.go
@@ -18,7 +18,7 @@
package v1
import (
- "hugegraph.apache.org/client-go/api"
+ "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api"
)
// API contains the Hugegraph APIs
diff --git a/hugegraph-client-go/api/v1/api.veretx.create.go
b/hugegraph-client-go/api/v1/api.veretx.create.go
index e4a7d536..2211ec76 100644
--- a/hugegraph-client-go/api/v1/api.veretx.create.go
+++ b/hugegraph-client-go/api/v1/api.veretx.create.go
@@ -25,9 +25,9 @@ import (
"log"
"net/http"
- "hugegraph.apache.org/client-go/api"
- "hugegraph.apache.org/client-go/hgtransport"
- "hugegraph.apache.org/client-go/internal/model"
+ "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/internal/model"
)
// ----- API Definition -------------------------------------------------------
diff --git a/hugegraph-client-go/api/v1/api.veretx.create_test.go
b/hugegraph-client-go/api/v1/api.veretx.create_test.go
index a3483126..843a68a4 100644
--- a/hugegraph-client-go/api/v1/api.veretx.create_test.go
+++ b/hugegraph-client-go/api/v1/api.veretx.create_test.go
@@ -22,8 +22,8 @@ import (
"log"
"testing"
- hugegraph "hugegraph.apache.org/client-go"
- "hugegraph.apache.org/client-go/internal/model"
+ hugegraph
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/internal/model"
)
type Model struct {
diff --git a/hugegraph-client-go/api/v1/api.version.go
b/hugegraph-client-go/api/v1/api.version.go
index 4862de7d..e2237025 100644
--- a/hugegraph-client-go/api/v1/api.version.go
+++ b/hugegraph-client-go/api/v1/api.version.go
@@ -20,12 +20,12 @@ package v1
import (
"context"
"encoding/json"
- "hugegraph.apache.org/client-go/hgtransport"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
"io"
"io/ioutil"
"net/http"
- "hugegraph.apache.org/client-go/api"
+ "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api"
)
// ----- API Definition -------------------------------------------------------
diff --git a/hugegraph-client-go/api/v1/api.version_test.go
b/hugegraph-client-go/api/v1/api.version_test.go
index fbd7a802..980c5158 100644
--- a/hugegraph-client-go/api/v1/api.version_test.go
+++ b/hugegraph-client-go/api/v1/api.version_test.go
@@ -23,9 +23,9 @@ import (
"reflect"
"testing"
- hugegraph "hugegraph.apache.org/client-go"
- "hugegraph.apache.org/client-go/api"
- v1 "hugegraph.apache.org/client-go/api/v1"
+ hugegraph
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go"
+ "github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api"
+ v1
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api/v1"
)
func TestVersionRequest_Do(t *testing.T) {
diff --git a/hugegraph-client-go/go.mod b/hugegraph-client-go/go.mod
index 9cdd9373..d45b4200 100644
--- a/hugegraph-client-go/go.mod
+++ b/hugegraph-client-go/go.mod
@@ -1,4 +1,4 @@
-module hugegraph.apache.org/client-go
+module github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go
go 1.19
diff --git a/hugegraph-client-go/hgtransport/hgtransport.go
b/hugegraph-client-go/hgtransport/hgtransport.go
index 7219da32..04ac3fe3 100644
--- a/hugegraph-client-go/hgtransport/hgtransport.go
+++ b/hugegraph-client-go/hgtransport/hgtransport.go
@@ -28,7 +28,7 @@ import (
"strings"
"time"
- "hugegraph.apache.org/client-go/internal/version"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/internal/version"
)
// Version returns the package version as a string.
diff --git a/hugegraph-client-go/hugegraph.go b/hugegraph-client-go/hugegraph.go
index e1f22816..9b4e0ae4 100644
--- a/hugegraph-client-go/hugegraph.go
+++ b/hugegraph-client-go/hugegraph.go
@@ -25,8 +25,8 @@ import (
"net/url"
"os"
- v1 "hugegraph.apache.org/client-go/api/v1"
- "hugegraph.apache.org/client-go/hgtransport"
+ v1
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/api/v1"
+
"github.com/apache/incubator-hugegraph-toolchain/hugegraph-client-go/hgtransport"
)
// Config 配置类型