From 5021c030b7eddf71df919e8e30965ff10e72c4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B5=9B?= Date: Wed, 19 Dec 2018 15:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=AE=E5=BD=95=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- examples/chat/chat_message.go | 2 +- examples/chat/client/client.go | 5 ++--- examples/chat/server/server.go | 4 ++-- examples/echo/client/client.go | 4 ++-- examples/echo/echo_message.go | 2 +- examples/echo/server/server.go | 4 ++-- examples/pingpong/client/client.go | 4 ++-- examples/pingpong/pingpong_message.go | 2 +- examples/pingpong/server/server.go | 4 ++-- examples/timer/time_display.go | 2 +- 11 files changed, 23 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 0697681..31cb3c6 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ Light-weight TCP Asynchronous gOlang framework 轻量级TCP异步框架,Go语言实现 1.6.0 -[![GitHub stars](https://img.shields.io/github/stars/json7/tao.svg)](https://github.com/json7/tao/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/json7/tao.svg)](https://github.com/json7/tao/network) -[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/json7/tao/master/LICENSE) -[![GoDoc](https://godoc.org/github.com/json7/tao?status.svg)](http://godoc.org/github.com/json7/tao) +[![GitHub stars](https://img.shields.io/github/stars/json7/swt.svg)](https://github.com/json7/swt/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/json7/swt.svg)](https://github.com/json7/swt/network) +[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/json7/swt/master/LICENSE) +[![GoDoc](https://godoc.org/github.com/json7/swt?status.svg)](http://godoc.org/github.com/json7/swt) ## Requirements @@ -14,7 +14,7 @@ Light-weight TCP Asynchronous gOlang framework ## Installation -`go get -u -v github.com/json7/tao` +`go get -u -v github.com/json7/swt` ## Usage @@ -28,8 +28,8 @@ import ( "net" "github.com/json7/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/chat" + "github.com/json7/swt" + "github.com/json7/swt/examples/chat" ) // ChatServer is the chatting server. diff --git a/examples/chat/chat_message.go b/examples/chat/chat_message.go index d8e5962..1b7bc34 100644 --- a/examples/chat/chat_message.go +++ b/examples/chat/chat_message.go @@ -4,7 +4,7 @@ import ( "context" "github.com/leesper/holmes" - "github.com/json7/tao" + "github.com/json7/swt" ) const ( diff --git a/examples/chat/client/client.go b/examples/chat/client/client.go index 0c2836b..8349c52 100644 --- a/examples/chat/client/client.go +++ b/examples/chat/client/client.go @@ -5,10 +5,9 @@ import ( "fmt" "net" "os" - "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/chat" + "github.com/json7/swt" + "github.com/json7/swt/examples/chat" ) func main() { diff --git a/examples/chat/server/server.go b/examples/chat/server/server.go index 1244c24..25511b1 100644 --- a/examples/chat/server/server.go +++ b/examples/chat/server/server.go @@ -8,8 +8,8 @@ import ( "syscall" "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/chat" + "github.com/json7/swt" + "github.com/json7/swt/examples/chat" ) // ChatServer is the chatting server. diff --git a/examples/echo/client/client.go b/examples/echo/client/client.go index a6b854b..aafec27 100644 --- a/examples/echo/client/client.go +++ b/examples/echo/client/client.go @@ -6,8 +6,8 @@ import ( "time" "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/echo" + "github.com/json7/swt" + "github.com/json7/swt/examples/echo" ) func main() { diff --git a/examples/echo/echo_message.go b/examples/echo/echo_message.go index 8a57fe6..5eb88ce 100644 --- a/examples/echo/echo_message.go +++ b/examples/echo/echo_message.go @@ -4,7 +4,7 @@ import ( "context" "github.com/leesper/holmes" - "github.com/json7/tao" + "github.com/json7/swt" ) // Message defines the echo message. diff --git a/examples/echo/server/server.go b/examples/echo/server/server.go index 7e0f438..962ec6a 100644 --- a/examples/echo/server/server.go +++ b/examples/echo/server/server.go @@ -8,8 +8,8 @@ import ( "syscall" "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/echo" + "github.com/json7/swt" + "github.com/json7/swt/examples/echo" ) // EchoServer represents the echo server. diff --git a/examples/pingpong/client/client.go b/examples/pingpong/client/client.go index 6cc9d3d..d4cee63 100644 --- a/examples/pingpong/client/client.go +++ b/examples/pingpong/client/client.go @@ -5,8 +5,8 @@ import ( "net" "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/pingpong" + "github.com/json7/swt" + "github.com/json7/swt/examples/pingpong" ) var ( diff --git a/examples/pingpong/pingpong_message.go b/examples/pingpong/pingpong_message.go index 2684339..8cb6ecb 100644 --- a/examples/pingpong/pingpong_message.go +++ b/examples/pingpong/pingpong_message.go @@ -1,6 +1,6 @@ package pingpong -import "github.com/json7/tao" +import "github.com/json7/swt" const ( // PingPontMessage defines message number. diff --git a/examples/pingpong/server/server.go b/examples/pingpong/server/server.go index 46c7acf..3c25741 100644 --- a/examples/pingpong/server/server.go +++ b/examples/pingpong/server/server.go @@ -6,8 +6,8 @@ import ( "runtime" "github.com/leesper/holmes" - "github.com/json7/tao" - "github.com/json7/tao/examples/pingpong" + "github.com/json7/swt" + "github.com/json7/swt/examples/pingpong" ) // PingPongServer defines pingpong server. diff --git a/examples/timer/time_display.go b/examples/timer/time_display.go index ab1f9ff..8ac6f9d 100644 --- a/examples/timer/time_display.go +++ b/examples/timer/time_display.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/json7/tao" + "github.com/json7/swt" ) func main() {