蛋蛋星球-制度模式
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 주 전
1234567891011121314
  1. package egg_system_rules
  2. import (
  3. "code.fnuoos.com/EggPlanet/egg_system_rules.git/md"
  4. "code.fnuoos.com/EggPlanet/egg_system_rules.git/utils/cache"
  5. )
  6. func Init(redisAddr string) (err error) {
  7. if redisAddr != "" {
  8. cache.NewRedis(redisAddr)
  9. }
  10. _, err = cache.SelectDb(md.RedisDataBase)
  11. return
  12. }