Skip to content

Commit 9ceb356

Browse files
committed
update README
1 parent 294fe98 commit 9ceb356

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
66

77
# 快速体验
8-
<a href="https://gitpod.io/#https://github.com/glennliao/apijson-go"><img src="https://gitpod.io/button/open-in-gitpod.svg" /> </a>
8+
<a href="https://gitpod.io/#https://github.com/glennliao/apijson-go" target="_blank"><img src="https://gitpod.io/button/open-in-gitpod.svg" /> </a>
99

10-
创建后 执行cmd/test/test.http 或者 cmd/z_test.go 访问测试
10+
创建后 执行 demo/todo/todo/tests 下的 *_test.go 访问测试
1111

1212
# 功能实现
1313

@@ -21,7 +21,7 @@
2121
- [x] Request表的tag校验
2222
- [x] MUST
2323
- [x] REFUSE
24-
- [x] 分页返回total@
24+
- [x] 分页返回total@
2525

2626
- [x] 可用的权限方案
2727
- [x] get只有access中定义的才能访问
@@ -76,10 +76,11 @@
7676

7777
1. go >= 1.18
7878
2. 创建mysql数据库
79-
3. 导入cmd/test.sql文件
80-
4. 从cmd/config.yaml.example 改成 cmd/config.yaml, 然后修改配置文件cmd/config.yaml中数据库连接
81-
5. 在cmd目录运行go run main.go
82-
6. 查看测试 test.http / z_test.go
79+
3. 导入demo/todo/todo/todo.sql文件
80+
4. demo/todo/config.yaml.example 改成 demo/todo/config.yaml, 然后修改配置文件 config.yaml 中数据库连接
81+
5. 在demo/todo目录运行go run main.go
82+
6. 查看测试 demo/todo/todo/tests
83+
8384

8485

8586
# 感谢

README.zh-CN.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
> 暂仍处于前期开发探索中, 请仅使用在 个人探索项目
55
6+
67
# 快速体验
7-
<a href="https://gitpod.io/#https://github.com/glennliao/apijson-go"><img src="https://gitpod.io/button/open-in-gitpod.svg" /> </a>
8+
<a href="https://gitpod.io/#https://github.com/glennliao/apijson-go" target="_blank"><img src="https://gitpod.io/button/open-in-gitpod.svg" /> </a>
89

9-
创建后 执行cmd/test/test.http 或者 cmd/z_test.go 访问测试
10+
创建后 执行 demo/todo/todo/tests 下的 *_test.go 访问测试
1011

1112
# 功能实现
1213

@@ -75,10 +76,11 @@
7576

7677
1. go >= 1.18
7778
2. 创建mysql数据库
78-
3. 导入cmd/test.sql文件
79-
4. 从cmd/config.yaml.example 改成 cmd/config.yaml, 然后修改配置文件cmd/config.yaml中数据库连接
80-
5. 在cmd目录运行go run main.go
81-
6. 查看测试 test.http / z_test.go
79+
3. 导入demo/todo/todo/todo.sql文件
80+
4. demo/todo/config.yaml.example 改成 demo/todo/config.yaml, 然后修改配置文件 config.yaml 中数据库连接
81+
5. 在demo/todo目录运行go run main.go
82+
6. 查看测试 demo/todo/todo/tests
83+
8284

8385
# 感谢
8486
- [GoFrame](https://gitee.com/johng/gf)

0 commit comments

Comments
 (0)