Commit fc4127d5 authored by AlexStocks's avatar AlexStocks

Mod: format codes

parent 43ab2e8e
......@@ -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
```
......
......@@ -18,7 +18,7 @@
package hello
import (
"github.com/dubbogo/getty"
"github.com/apache/dubbo-getty"
)
const (
......
......@@ -18,7 +18,7 @@
package hello
import (
"github.com/dubbogo/getty"
"github.com/apache/dubbo-getty"
)
var (
......
......@@ -22,7 +22,7 @@ import (
)
import (
"github.com/dubbogo/getty"
"github.com/apache/dubbo-getty"
)
type MessageHandler struct {
......
......@@ -23,7 +23,7 @@ import (
)
import (
"github.com/dubbogo/getty"
"github.com/apache/dubbo-getty"
)
type PackageHandler struct{}
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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 (
......
module github.com/apache/dubbo-getty
go 1.14
require (
github.com/dubbogo/gost v1.9.0
github.com/golang/snappy v0.0.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment