summaryrefslogtreecommitdiff
path: root/rows.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-01-19 00:51:09 +0800
committerxuri <xuri.me@gmail.com>2022-01-19 00:51:09 +0800
commit74f6ea94eae45c8fb89a23cc94802e57ce279a84 (patch)
treef27a05419c57c3ecb89b8fd84df1ed1e5121eb05 /rows.go
parent4daa6ed0b46fdd994e46403feb049b162eca19b8 (diff)
ref #1054, breaking change for the column and row's iterator
This removed 3 exported functions: `TotalCols`, `CurrentCol` and `CurrentRow`
Diffstat (limited to 'rows.go')
-rw-r--r--rows.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/rows.go b/rows.go
index 8072079..8702f93 100644
--- a/rows.go
+++ b/rows.go
@@ -79,11 +79,6 @@ type Rows struct {
token xml.Token
}
-// CurrentRow returns the row number that represents the current row.
-func (rows *Rows) CurrentRow() int {
- return rows.seekRow
-}
-
// Next will return true if find the next row element.
func (rows *Rows) Next() bool {
rows.seekRow++