Skip to content

Commit

Permalink
cleanup: table: internalize ColumnValuesDistinct
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Jul 16, 2021
1 parent 99e50a6 commit 7235d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/table/table_column.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (tbl *Table) ColumnValuesForColumnName(colName string, dedupeValues, sortVa
return tbl.ColumnValues(uint(colIdx), dedupeValues, sortValues)
}

func (tbl *Table) ColumnValuesDistinct(colIdx uint) (map[string]int, error) {
func (tbl *Table) columnValuesDistinct(colIdx uint) (map[string]int, error) {
data := map[string]int{}
idx := int(colIdx)

Expand All @@ -93,7 +93,7 @@ func (tbl *Table) ColumnValuesDistinct(colIdx uint) (map[string]int, error) {
}

func (tbl *Table) ColumnValuesMinMax(colIdx uint) (string, string, error) {
vals, err := tbl.ColumnValuesDistinct(colIdx)
vals, err := tbl.columnValuesDistinct(colIdx)
if err != nil {
return "", "", err
}
Expand Down

0 comments on commit 7235d56

Please sign in to comment.