mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-08 15:39:59 +08:00
optimize unit test & add document
This commit is contained in:
23
tools/goctl/model/sql/example/etc/config.json
Normal file
23
tools/goctl/model/sql/example/etc/config.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"ServiceName": "model.test",
|
||||
"Mode": "console",
|
||||
"Mysql": {
|
||||
"DataSource": "root:AQS910422@(127.0.0.1:3306)/test?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai",
|
||||
"Table": {
|
||||
"User": "user",
|
||||
"Course": "user_course"
|
||||
}
|
||||
},
|
||||
"CacheRedis": [
|
||||
{
|
||||
"Host": "127.0.0.1:6379",
|
||||
"Type": "node",
|
||||
"Pass": ""
|
||||
}
|
||||
],
|
||||
"Redis": {
|
||||
"Host": "127.0.0.1:6379",
|
||||
"Type": "node",
|
||||
"Pass": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user