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

@@ -0,0 +1,22 @@
package config
import (
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/stores/cache"
"github.com/tal-tech/go-zero/core/stores/redis"
)
type (
Config struct {
logx.LogConf
Mysql struct {
DataSource string
Table struct {
User string
Course string
}
}
CacheRedis cache.CacheConf
Redis redis.RedisConf
}
)