diff options
author | xuri <xuri.me@gmail.com> | 2021-08-06 22:44:43 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-08-06 22:44:43 +0800 |
commit | cf9fbafdd805874267a0f5d27fd1c720b148ec91 (patch) | |
tree | 4eda7bd0d974160b5f396c05cd914ba8baf504da /pivotTable.go | |
parent | 933159f9391f9be1b41b51e85885722124f8a7aa (diff) |
This closes #979, fix the data validation deletion issue and tidy the internal function in the source code
Diffstat (limited to 'pivotTable.go')
-rw-r--r-- | pivotTable.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/pivotTable.go b/pivotTable.go index f6d6d2d..07cf84c 100644 --- a/pivotTable.go +++ b/pivotTable.go @@ -459,17 +459,6 @@ func (f *File) addPivotDataFields(pt *xlsxPivotTableDefinition, opt *PivotTableO return err } -// inStrSlice provides a method to check if an element is present in an array, -// and return the index of its location, otherwise return -1. -func inStrSlice(a []string, x string) int { - for idx, n := range a { - if x == n { - return idx - } - } - return -1 -} - // inPivotTableField provides a method to check if an element is present in // pivot table fields list, and return the index of its location, otherwise // return -1. |