You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2019/07/31 02:07:31 UTC

[dubbo-go-hessian2] branch master updated: fix package name

This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-hessian2.git


The following commit(s) were added to refs/heads/master by this push:
     new 808e844  fix package name
     new 1697039  Merge pull request #112 from wongoo/fix-transfer
808e844 is described below

commit 808e8449b0a9baca2d82311d91f1c1a4d0ab325e
Author: wongoo <ge...@163.com>
AuthorDate: Wed Jul 31 09:40:57 2019 +0800

    fix package name
---
 README.md                   | 18 +++++++++---------
 go.mod                      |  3 +--
 go.sum                      |  2 --
 java_exception.go           |  2 +-
 java_exception/exception.go |  1 -
 response.go                 |  2 +-
 6 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/README.md b/README.md
index 019882c..5d4e550 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
 # gohessian
 
-[![Build Status](https://travis-ci.org/dubbogo/hessian2.png?branch=master)](https://travis-ci.org/dubbogo/hessian2)
-[![GoCover](http://gocover.io/_badge/github.com/dubbogo/hessian2)](http://gocover.io/github.com/dubbogo/hessian2)
-[![GoDoc](https://godoc.org/github.com/dubbogo/hessian2?status.svg)](https://godoc.org/github.com/dubbogo/hessian2)
+[![Build Status](https://travis-ci.org/apache/dubbo-go-hessian2.png?branch=master)](https://travis-ci.org/apache/dubbo-go-hessian2)
+[![GoCover](http://gocover.io/_badge/github.com/apache/dubbo-go-hessian2)](http://gocover.io/github.com/apache/dubbo-go-hessian2)
+[![GoDoc](https://godoc.org/github.com/apache/dubbo-go-hessian2?status.svg)](https://godoc.org/github.com/apache/dubbo-go-hessian2)
 
 
 ---
@@ -11,12 +11,12 @@ It's a golang hessian library used by [Apache/dubbo-go](https://github.com/apach
 
 ## Feature List
 
-* [All JDK Exceptions](https://github.com/dubbogo/hessian2/issues/59)
-* [Function Alias By Alias](https://github.com/dubbogo/hessian2/issues/19)
-* [Java Bigdecimal](https://github.com/dubbogo/hessian2/issues/89)
-* [Java Date & Time](https://github.com/dubbogo/hessian2/issues/90)
-* [Java Generic Invokation](https://github.com/dubbogo/hessian2/issues/84)
-* [Dubbo Attachements](https://github.com/dubbogo/hessian2/issues/49)
+* [All JDK Exceptions](https://github.com/apache/dubbo-go-hessian2/issues/59)
+* [Function Alias By Alias](https://github.com/apache/dubbo-go-hessian2/issues/19)
+* [Java Bigdecimal](https://github.com/apache/dubbo-go-hessian2/issues/89)
+* [Java Date & Time](https://github.com/apache/dubbo-go-hessian2/issues/90)
+* [Java Generic Invokation](https://github.com/apache/dubbo-go-hessian2/issues/84)
+* [Dubbo Attachements](https://github.com/apache/dubbo-go-hessian2/issues/49)
 
 ## Basic Usage Examples
 
diff --git a/go.mod b/go.mod
index 24e71dd..5a38e9e 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,6 @@
-module github.com/dubbogo/hessian2
+module github.com/apache/dubbo-go-hessian2
 
 require (
-	github.com/davecgh/go-spew v1.1.1 // indirect
 	github.com/dubbogo/gost v1.1.1
 	github.com/pkg/errors v0.8.1
 	github.com/stretchr/testify v1.3.0
diff --git a/go.sum b/go.sum
index e009cc5..526c431 100644
--- a/go.sum
+++ b/go.sum
@@ -1,7 +1,5 @@
 github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
-github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/dubbogo/gost v1.1.1 h1:JCM7vx5edPIjDA5ovJTuzEEXuw2t7xLyrlgi2mi5jHI=
 github.com/dubbogo/gost v1.1.1/go.mod h1:R7wZm1DrmrKGr50mBZVcg6C9ekG8aL5hP+sgWcIDwQg=
 github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
diff --git a/java_exception.go b/java_exception.go
index abe725d..27d2846 100644
--- a/java_exception.go
+++ b/java_exception.go
@@ -14,7 +14,7 @@
 
 package hessian
 
-import "github.com/dubbogo/hessian2/java_exception"
+import "github.com/apache/dubbo-go-hessian2/java_exception"
 
 func init() {
 	RegisterPOJO(&java_exception.Method{})
diff --git a/java_exception/exception.go b/java_exception/exception.go
index 73a4477..d5af098 100644
--- a/java_exception/exception.go
+++ b/java_exception/exception.go
@@ -94,7 +94,6 @@ type Method struct {
 	Name string
 }
 
-
 func (Method) JavaClassName() string {
 	return "java.lang.reflect.Method"
 }
diff --git a/response.go b/response.go
index 3ca0219..2e918f8 100644
--- a/response.go
+++ b/response.go
@@ -16,7 +16,7 @@ package hessian
 
 import (
 	"encoding/binary"
-	"github.com/dubbogo/hessian2/java_exception"
+	"github.com/apache/dubbo-go-hessian2/java_exception"
 	"math"
 	"reflect"
 	"strconv"