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 177b9c6  Mod: change third-part package import block
177b9c6 is described below

commit 177b9c667283b33219ce8ab5886926cb931bf0b1
Author: AlexStocks <[email protected]>
AuthorDate: Wed Aug 7 20:28:24 2019 +0800

    Mod: change third-part package import block
---
 java_exception.go | 4 +++-
 response.go       | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/java_exception.go b/java_exception.go
index 27d2846..181f8eb 100644
--- a/java_exception.go
+++ b/java_exception.go
@@ -14,7 +14,9 @@
 
 package hessian
 
-import "github.com/apache/dubbo-go-hessian2/java_exception"
+import (
+       "github.com/apache/dubbo-go-hessian2/java_exception"
+)
 
 func init() {
        RegisterPOJO(&java_exception.Method{})
diff --git a/response.go b/response.go
index 2e918f8..d113fd5 100644
--- a/response.go
+++ b/response.go
@@ -16,7 +16,6 @@ package hessian
 
 import (
        "encoding/binary"
-       "github.com/apache/dubbo-go-hessian2/java_exception"
        "math"
        "reflect"
        "strconv"
@@ -27,6 +26,10 @@ import (
        perrors "github.com/pkg/errors"
 )
 
+import (
+       "github.com/apache/dubbo-go-hessian2/java_exception"
+)
+
 type Response struct {
        RspObj      interface{}
        Exception   error

Reply via email to