From d4ba474372b2914d6dffca772ddc97edafb5a5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20P=C3=A9rez?= Date: Mon, 20 Mar 2023 05:10:33 +0100 Subject: [PATCH] fix: exported convert function --- exceltostruct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exceltostruct.go b/exceltostruct.go index 94c1872..26810a9 100644 --- a/exceltostruct.go +++ b/exceltostruct.go @@ -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)