Files
go-zero/example/bookstore/rpc/add/internal/config/config.go

13 lines
221 B
Go
Raw Normal View History

2020-09-03 23:26:04 +08:00
package config
import (
"github.com/tal-tech/go-zero/core/stores/cache"
"github.com/tal-tech/go-zero/rpcx"
)
type Config struct {
rpcx.RpcServerConf
DataSource string
Table string
Cache cache.CacheConf
}