fix: exported convert function
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user