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 2020/08/18 05:14:30 UTC
[dubbo-getty] branch master updated: Mod: format codes
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-getty.git
The following commit(s) were added to refs/heads/master by this push:
new fc4127d Mod: format codes
fc4127d is described below
commit fc4127d58c486844d448b51262caab3b9ac0663d
Author: AlexStocks <al...@foxmail.com>
AuthorDate: Tue Aug 18 13:13:22 2020 +0800
Mod: format codes
---
demo/hello/README.md | 2 +-
demo/hello/consts.go | 2 +-
demo/hello/hello.go | 2 +-
demo/hello/messagelistener.go | 2 +-
demo/hello/pkghandler.go | 2 +-
demo/hello/tcp/client/client.go | 8 ++++----
demo/hello/tcp/config.go | 4 ++--
demo/hello/tcp/server/server.go | 6 +++---
demo/hello/tls/client/client.go | 8 ++++----
demo/hello/tls/config.go | 4 ++--
demo/hello/tls/server/server.go | 6 +++---
go.mod | 2 ++
12 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/demo/hello/README.md b/demo/hello/README.md
index af9ab47..a681996 100644
--- a/demo/hello/README.md
+++ b/demo/hello/README.md
@@ -3,7 +3,7 @@
## 1. prepare
```bash
-git clone https://github.com/dubbogo/getty.git
+git clone https://github.com/apache/dubbo-getty.git
cd getty/demo/hello
```
diff --git a/demo/hello/consts.go b/demo/hello/consts.go
index 38fd40c..3727d40 100644
--- a/demo/hello/consts.go
+++ b/demo/hello/consts.go
@@ -18,7 +18,7 @@
package hello
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
const (
diff --git a/demo/hello/hello.go b/demo/hello/hello.go
index 6df95a3..ca82246 100644
--- a/demo/hello/hello.go
+++ b/demo/hello/hello.go
@@ -18,7 +18,7 @@
package hello
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
var (
diff --git a/demo/hello/messagelistener.go b/demo/hello/messagelistener.go
index a854049..7b869ce 100644
--- a/demo/hello/messagelistener.go
+++ b/demo/hello/messagelistener.go
@@ -22,7 +22,7 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
type MessageHandler struct {
diff --git a/demo/hello/pkghandler.go b/demo/hello/pkghandler.go
index fa8b63f..46b661c 100644
--- a/demo/hello/pkghandler.go
+++ b/demo/hello/pkghandler.go
@@ -23,7 +23,7 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
type PackageHandler struct{}
diff --git a/demo/hello/tcp/client/client.go b/demo/hello/tcp/client/client.go
index 426f835..fe60ea6 100644
--- a/demo/hello/tcp/client/client.go
+++ b/demo/hello/tcp/client/client.go
@@ -22,14 +22,14 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync"
)
import (
- "github.com/dubbogo/getty/demo/hello"
- "github.com/dubbogo/getty/demo/hello/tcp"
- "github.com/dubbogo/getty/demo/util"
+ "github.com/apache/dubbo-getty/demo/hello"
+ "github.com/apache/dubbo-getty/demo/hello/tcp"
+ "github.com/apache/dubbo-getty/demo/util"
)
var (
diff --git a/demo/hello/tcp/config.go b/demo/hello/tcp/config.go
index 0b720c4..b000c8d 100644
--- a/demo/hello/tcp/config.go
+++ b/demo/hello/tcp/config.go
@@ -24,11 +24,11 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
import (
- "github.com/dubbogo/getty/demo/hello"
+ "github.com/apache/dubbo-getty/demo/hello"
)
var (
diff --git a/demo/hello/tcp/server/server.go b/demo/hello/tcp/server/server.go
index 1fa3a55..d0a869d 100644
--- a/demo/hello/tcp/server/server.go
+++ b/demo/hello/tcp/server/server.go
@@ -22,13 +22,13 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync"
)
import (
- "github.com/dubbogo/getty/demo/hello/tcp"
- "github.com/dubbogo/getty/demo/util"
+ "github.com/apache/dubbo-getty/demo/hello/tcp"
+ "github.com/apache/dubbo-getty/demo/util"
)
var (
diff --git a/demo/hello/tls/client/client.go b/demo/hello/tls/client/client.go
index ee0b717..0aedc87 100644
--- a/demo/hello/tls/client/client.go
+++ b/demo/hello/tls/client/client.go
@@ -23,14 +23,14 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync"
)
import (
- "github.com/dubbogo/getty/demo/hello"
- tls "github.com/dubbogo/getty/demo/hello/tls"
- "github.com/dubbogo/getty/demo/util"
+ "github.com/apache/dubbo-getty/demo/hello"
+ tls "github.com/apache/dubbo-getty/demo/hello/tls"
+ "github.com/apache/dubbo-getty/demo/util"
)
var (
diff --git a/demo/hello/tls/config.go b/demo/hello/tls/config.go
index 9642355..01db739 100644
--- a/demo/hello/tls/config.go
+++ b/demo/hello/tls/config.go
@@ -23,11 +23,11 @@ import (
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
)
import (
- "github.com/dubbogo/getty/demo/hello"
+ "github.com/apache/dubbo-getty/demo/hello"
)
var (
diff --git a/demo/hello/tls/server/server.go b/demo/hello/tls/server/server.go
index 3f6ed38..30f3acf 100644
--- a/demo/hello/tls/server/server.go
+++ b/demo/hello/tls/server/server.go
@@ -19,17 +19,17 @@ package main
import (
"flag"
- tls "github.com/dubbogo/getty/demo/hello/tls"
+ tls "github.com/apache/dubbo-getty/demo/hello/tls"
"path/filepath"
)
import (
- "github.com/dubbogo/getty"
+ "github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync"
)
import (
- "github.com/dubbogo/getty/demo/util"
+ "github.com/apache/dubbo-getty/demo/util"
)
var (
diff --git a/go.mod b/go.mod
index cbd451e..184bf95 100644
--- a/go.mod
+++ b/go.mod
@@ -1,5 +1,7 @@
module github.com/apache/dubbo-getty
+go 1.14
+
require (
github.com/dubbogo/gost v1.9.0
github.com/golang/snappy v0.0.1