Skip to content

Commit 822fb9a

Browse files
committed
v2
1 parent a7f1e1c commit 822fb9a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ The module diagram is as follows:
2828
![gorose.2.0.jpg](https://i.loli.net/2019/08/06/7R2GlbwUiFKOrNP.jpg)
2929

3030
## installation
31-
- go.mod
3231
```bash
33-
require github.com/gohouse/gorose v2.1.1
32+
require github.com/gohouse/gorose/v2 v2.1.2
3433
```
34+
you should use it like `import "github.com/gohouse/gorose/v2"`
3535

3636
- docker
3737
```bash
3838
docker run -it --rm ababy/gorose sh -c "go run main.go"
3939
```
4040
> docker image: [ababy/gorose](https://cloud.docker.com/u/ababy/repository/docker/ababy/gorose), The docker image contains the packages and runtime environment necessary for gorose, [view `Dockerfile`](https://github.com/docker-box/gorose/blob/master/master/golang/Dockerfile)
4141
42-
- without version control
42+
- go get
4343
```bash
4444
go get -u github.com/gohouse/gorose/v2
4545
```

README_cn.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ gorose 2.0 采用模块化架构, 通过interface的api通信,严格的上层依
2525
## 安装
2626
- go.mod
2727
```bash
28-
require github.com/gohouse/gorose v2.1.1
28+
require github.com/gohouse/gorose/v2 v2.1.2
2929
```
30+
使用的时候必须`import "github.com/gohouse/gorose/v2"`方可正常使用
3031

3132
- docker
3233
```bash
3334
docker run -it --rm ababy/gorose sh -c "go run main.go"
3435
```
3536
> docker 镜像: [ababy/gorose](https://cloud.docker.com/u/ababy/repository/docker/ababy/gorose), docker镜像包含了gorose所必须的包和运行环境, [查看`Dockerfile`](https://github.com/docker-box/gorose/blob/master/master/golang/Dockerfile)
3637
37-
- 不使用版本控制
38+
- go get
3839
```bash
3940
go get -u github.com/gohouse/gorose/v2
4041
```

0 commit comments

Comments
 (0)