Package for golang to convert excel xls files to text.It's a go binding for hroptatyr/xls2txt
This package can be installed with the go get command:
go get github.com/yanghuxiao/goxls2txt
goxls2txt is cgo package. If you want to build your app using goxls2txt, you need gcc.
This package is easy to use,more example see Examples
package main
import (
"fmt"
"github.com/yanghuxiao/goxls2txt"
)
func main() {
fmt.Println("convert start")
gx2t := goxls2txt.NewGoXls2Txt()
_, err := gx2t.Xls2txt("../../Workbook1.xls", "../../Workbook1.txt")
if err == nil {
fmt.Println("convert xls to txt successfull")
}
}
YangHuxiao
Jan Bobrowski
Sebastian Freundt