index.go
292 Bytes
package configs
import (
"apigame/common/svdto"
)
// func GetConfigRedis[T svconfig.IDtoData](gameId string) (result *T, has bool) {
// t = new(T)
// var rule = t.GetRule(gameId)
// return
// }
func GetConfigMysql[T svdto.IDtoData](gameId string, t T) (result *T, has bool) {
return
}