fix: exported convert function

This commit is contained in:
Pedro Pérez 2023-03-20 05:10:33 +01:00
parent 0e638316b9
commit d4ba474372

View File

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
) )
func convert[T any](bookPath, sheetName string) (dataExcel []T) { func Convert[T any](bookPath, sheetName string) (dataExcel []T) {
f, _ := excelize.OpenFile(bookPath) f, _ := excelize.OpenFile(bookPath)
rows, _ := f.GetRows(sheetName) rows, _ := f.GetRows(sheetName)