1. 20 3月, 2019 1 次提交
    • V
      Huge refactorig for consistent col/row numbering (#356) · dc012645
      Veniamin Albaev 提交于
      * Huge refactorig for consistent col/row numbering
      
      Started from simply changing ToALphaString()/TitleToNumber() logic and related fixes.
      But have to go deeper, do fixes, after do related fixes and again and again.
      
      Major improvements:
      
      1. Tests made stronger again (But still be weak).
      2. "Empty" returns for incorrect input replaces with panic.
      3. Check for correct col/row/cell naming & addressing by default.
      4. Removed huge amount of duplicated code.
      5. Removed ToALphaString(), TitleToNumber() and it helpers functions at all,
      and replaced with SplitCellName(), JoinCellName(), ColumnNameToNumber(), ColumnNumberToName(), CellNameToCoordinates(), CoordinatesToCellName().
      6. Minor fixes for internal variable naming for code readability (ex. col, row for input params, colIdx, rowIdx for slice indexes etc).
      
      * Formatting fixes
      dc012645
  2. 26 2月, 2019 1 次提交
  3. 22 2月, 2019 1 次提交
  4. 13 1月, 2019 1 次提交
  5. 06 1月, 2019 1 次提交
  6. 01 1月, 2019 1 次提交
  7. 26 12月, 2018 2 次提交
  8. 15 12月, 2018 1 次提交
  9. 11 12月, 2018 1 次提交
  10. 05 12月, 2018 1 次提交
  11. 24 11月, 2018 1 次提交
  12. 04 11月, 2018 1 次提交
  13. 02 11月, 2018 1 次提交
  14. 27 10月, 2018 1 次提交
  15. 17 10月, 2018 1 次提交
  16. 14 9月, 2018 4 次提交
  17. 12 9月, 2018 1 次提交
  18. 06 8月, 2018 1 次提交
  19. 17 7月, 2018 1 次提交
  20. 14 6月, 2018 1 次提交
    • O
      CopySheet() using reflect instead of encoding/gob · 4a1b4064
      Olivier Mengué 提交于
      Use github.com/mohae/deepcopy to deep copy worksheets instead of the
      internal deepcopy function that was using encoding/gob serialization and
      deserialization.
      
      Rationale:
      1/ using `encoding/gob` is much slower than
         [`mohae/deepcopy`](https://github.com/mohae/deepcopy/)
      2/ When building an application this implementation of `deepcopy` drags
         the `encoding/gob` package into the binary. And this package is much
         bigger than `mohae/deepcopy` (which only depends on `time` and `reflect`).
      
      ```
      $ LC_ALL=C stat -f "%6z %N" $(go env GOPATH)/pkg/$(go env GOOS)_$(go env GOARCH)/github.com/mohae/deepcopy.a $(go env GOROOT)/pkg/$(go env GOOS)_$(go env GOARCH)/encoding/gob.a
       10508 .../pkg/darwin_amd64/github.com/mohae/deepcopy.a
      541818 .../pkg/darwin_amd64/encoding/gob.a
      ```
      4a1b4064
  21. 11 6月, 2018 1 次提交
    • S
      Documentation: · ccdefb3b
      Sebastian Willing 提交于
      * Add information about return value of NewSheet()
      * Minor documentation language fixes
      Samples:
      * Added sample go file for dumping a XLSX file to the console
      ccdefb3b
  22. 27 5月, 2018 1 次提交
  23. 15 5月, 2018 1 次提交
  24. 14 5月, 2018 1 次提交
  25. 07 5月, 2018 1 次提交
  26. 03 5月, 2018 1 次提交
  27. 26 4月, 2018 1 次提交
  28. 16 3月, 2018 1 次提交
  29. 06 3月, 2018 1 次提交
  30. 04 12月, 2017 1 次提交
  31. 31 10月, 2017 1 次提交
  32. 20 10月, 2017 1 次提交
  33. 30 9月, 2017 1 次提交
  34. 13 9月, 2017 2 次提交
  35. 19 8月, 2017 1 次提交