File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 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
2121- [x] Request表的tag校验
2222 - [x] MUST
2323 - [x] REFUSE
24- - [x] 分页返回total@
24+ - [x] 分页返回total@
2525
2626- [x] 可用的权限方案
2727 - [x] get只有access中定义的才能访问
7676
77771 . go >= 1.18
78782 . 创建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# 感谢
Original file line number Diff line number Diff line change 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
7576
76771 . go >= 1.18
77782 . 创建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 )
You can’t perform that action at this time.
0 commit comments