Commit fc4127d5 authored by AlexStocks's avatar AlexStocks

Mod: format codes

parent 43ab2e8e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
## 1. prepare ## 1. prepare
```bash ```bash
git clone https://github.com/dubbogo/getty.git git clone https://github.com/apache/dubbo-getty.git
cd getty/demo/hello cd getty/demo/hello
``` ```
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
package hello package hello
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
const ( const (
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
package hello package hello
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
var ( var (
......
...@@ -22,7 +22,7 @@ import ( ...@@ -22,7 +22,7 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
type MessageHandler struct { type MessageHandler struct {
......
...@@ -23,7 +23,7 @@ import ( ...@@ -23,7 +23,7 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
type PackageHandler struct{} type PackageHandler struct{}
......
...@@ -22,14 +22,14 @@ import ( ...@@ -22,14 +22,14 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync" "github.com/dubbogo/gost/sync"
) )
import ( import (
"github.com/dubbogo/getty/demo/hello" "github.com/apache/dubbo-getty/demo/hello"
"github.com/dubbogo/getty/demo/hello/tcp" "github.com/apache/dubbo-getty/demo/hello/tcp"
"github.com/dubbogo/getty/demo/util" "github.com/apache/dubbo-getty/demo/util"
) )
var ( var (
......
...@@ -24,11 +24,11 @@ import ( ...@@ -24,11 +24,11 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
import ( import (
"github.com/dubbogo/getty/demo/hello" "github.com/apache/dubbo-getty/demo/hello"
) )
var ( var (
......
...@@ -22,13 +22,13 @@ import ( ...@@ -22,13 +22,13 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync" gxsync "github.com/dubbogo/gost/sync"
) )
import ( import (
"github.com/dubbogo/getty/demo/hello/tcp" "github.com/apache/dubbo-getty/demo/hello/tcp"
"github.com/dubbogo/getty/demo/util" "github.com/apache/dubbo-getty/demo/util"
) )
var ( var (
......
...@@ -23,14 +23,14 @@ import ( ...@@ -23,14 +23,14 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
"github.com/dubbogo/gost/sync" "github.com/dubbogo/gost/sync"
) )
import ( import (
"github.com/dubbogo/getty/demo/hello" "github.com/apache/dubbo-getty/demo/hello"
tls "github.com/dubbogo/getty/demo/hello/tls" tls "github.com/apache/dubbo-getty/demo/hello/tls"
"github.com/dubbogo/getty/demo/util" "github.com/apache/dubbo-getty/demo/util"
) )
var ( var (
......
...@@ -23,11 +23,11 @@ import ( ...@@ -23,11 +23,11 @@ import (
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
) )
import ( import (
"github.com/dubbogo/getty/demo/hello" "github.com/apache/dubbo-getty/demo/hello"
) )
var ( var (
......
...@@ -19,17 +19,17 @@ package main ...@@ -19,17 +19,17 @@ package main
import ( import (
"flag" "flag"
tls "github.com/dubbogo/getty/demo/hello/tls" tls "github.com/apache/dubbo-getty/demo/hello/tls"
"path/filepath" "path/filepath"
) )
import ( import (
"github.com/dubbogo/getty" "github.com/apache/dubbo-getty"
gxsync "github.com/dubbogo/gost/sync" gxsync "github.com/dubbogo/gost/sync"
) )
import ( import (
"github.com/dubbogo/getty/demo/util" "github.com/apache/dubbo-getty/demo/util"
) )
var ( var (
......
module github.com/apache/dubbo-getty module github.com/apache/dubbo-getty
go 1.14
require ( require (
github.com/dubbogo/gost v1.9.0 github.com/dubbogo/gost v1.9.0
github.com/golang/snappy v0.0.1 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