main.go 570 B

1234567891011121314151617181920212223242526272829303132333435
  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.Legend,
  15. //conv.Antique,
  16. //conv.Talents,
  17. //conv.Equipment,
  18. //conv.Activity,
  19. //conv.Seven,
  20. //conv.LimitGift,
  21. //conv.Server,
  22. //conv.Treasure,
  23. //conv.GrandMaster,
  24. //conv.ExsKill,
  25. }
  26. )
  27. func Run(version string) {
  28. logrus.Info("init version:", version)
  29. for _, convert := range convertList {
  30. convert.Extract(version)
  31. }
  32. }