diff options
author | xuri <xuri.me@gmail.com> | 2022-09-18 00:07:15 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-09-18 00:07:15 +0800 |
commit | 3f702999e6bba26afbd2a259f6849e536042ec2e (patch) | |
tree | 4bfbbb9c1f01c52bcb9ffedac6ba9190650470cf /adjust.go | |
parent | 73cc4bd44933994ffa8efad9c3e05fe7cb826b49 (diff) |
Using the specialized name in a variable and making comments clear
- Add JSON tags for `AppProperties`, `PivotTableOption` and `PivotTableField` structure
Diffstat (limited to 'adjust.go')
-rw-r--r-- | adjust.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -248,8 +248,8 @@ func (f *File) adjustAutoFilter(ws *xlsxWorksheet, dir adjustDirection, num, off } // adjustAutoFilterHelper provides a function for adjusting auto filter to -// compare and calculate cell axis by the given adjust direction, operation -// axis and offset. +// compare and calculate cell reference by the given adjust direction, operation +// reference and offset. func (f *File) adjustAutoFilterHelper(dir adjustDirection, coordinates []int, num, offset int) []int { if dir == rows { if coordinates[1] >= num { @@ -314,7 +314,7 @@ func (f *File) adjustMergeCells(ws *xlsxWorksheet, dir adjustDirection, num, off } // adjustMergeCellsHelper provides a function for adjusting merge cells to -// compare and calculate cell axis by the given pivot, operation axis and +// compare and calculate cell reference by the given pivot, operation reference and // offset. func (f *File) adjustMergeCellsHelper(p1, p2, num, offset int) (int, int) { if p2 < p1 { |