optimize unit test & add document

This commit is contained in:
anqiansong
2020-08-16 23:28:01 +08:00
parent 790b29b8eb
commit dbc034c9eb
46 changed files with 735 additions and 1855 deletions

View File

@@ -1,2 +1,7 @@
#!/bin/bash
go run .
# generate usermodel with cache
goctl model -src ./sql/user.sql -dir ./model -c true
# generate usercoursemodel without cache
goctl model -src ./sql/course.sql -dir ./model