Skip to content

Commit

Permalink
目录替换
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赛 committed Dec 19, 2018
1 parent b526b21 commit 5021c03
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 24 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
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

* Golang 1.9 and above

## Installation

`go get -u -v github.com/json7/tao`
`go get -u -v github.com/json7/swt`

## Usage

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/chat/chat_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/leesper/holmes"
"github.com/json7/tao"
"github.com/json7/swt"
)

const (
Expand Down
5 changes: 2 additions & 3 deletions examples/chat/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/chat/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions examples/echo/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion examples/echo/echo_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/leesper/holmes"
"github.com/json7/tao"
"github.com/json7/swt"
)

// Message defines the echo message.
Expand Down
4 changes: 2 additions & 2 deletions examples/echo/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions examples/pingpong/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion examples/pingpong/pingpong_message.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package pingpong

import "github.com/json7/tao"
import "github.com/json7/swt"

const (
// PingPontMessage defines message number.
Expand Down
4 changes: 2 additions & 2 deletions examples/pingpong/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/timer/time_display.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

"github.com/json7/tao"
"github.com/json7/swt"
)

func main() {
Expand Down

0 comments on commit 5021c03

Please sign in to comment.