fix: exported convert function
This commit is contained in:
parent
0e638316b9
commit
d4ba474372
@ -6,7 +6,7 @@ import (
|
||||
"strconv"
|
||||
)
|
||||
|
||||
func convert[T any](bookPath, sheetName string) (dataExcel []T) {
|
||||
func Convert[T any](bookPath, sheetName string) (dataExcel []T) {
|
||||
f, _ := excelize.OpenFile(bookPath)
|
||||
rows, _ := f.GetRows(sheetName)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user