main.go 557 B

12345678910111213141516171819202122232425262728293031323334
  1. package jsonc
  2. import (
  3. "gadmin/internal/jsonc/conv"
  4. "github.com/sirupsen/logrus"
  5. )
  6. var (
  7. convertList = []conv.ConvertStrategy{
  8. //conv.Goods,
  9. //conv.Chapter,
  10. //conv.Role,
  11. //conv.PlayLevel,
  12. conv.Item,
  13. conv.Rune,
  14. //conv.Antique,
  15. //conv.Talents,
  16. //conv.Equipment,
  17. //conv.Activity,
  18. //conv.Seven,
  19. //conv.LimitGift,
  20. //conv.Server,
  21. //conv.Treasure,
  22. //conv.GrandMaster,
  23. //conv.ExsKill,
  24. }
  25. )
  26. func Run(version string) {
  27. logrus.Info("init version:", version)
  28. for _, convert := range convertList {
  29. convert.Extract(version)
  30. }
  31. }