common.go 542 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. package consts
  4. const (
  5. PageSize = 10
  6. )
  7. var YearMap = map[string]int{
  8. "1": 2001,
  9. "2": 2002,
  10. "3": 2003,
  11. "4": 2004,
  12. "5": 2005,
  13. "6": 2006,
  14. "7": 2007,
  15. "8": 2008,
  16. "9": 2009,
  17. "A": 2010,
  18. "B": 2011,
  19. "C": 2012,
  20. "D": 2013,
  21. "E": 2014,
  22. "F": 2015,
  23. "G": 2016,
  24. "H": 2017,
  25. "J": 2018,
  26. "K": 2019,
  27. "L": 2020,
  28. "M": 2021,
  29. "N": 2022,
  30. "P": 2023,
  31. "R": 2024,
  32. "S": 2025,
  33. "T": 2026,
  34. "V": 2027,
  35. "W": 2028,
  36. "X": 2029,
  37. "Y": 2030,
  38. }