some tests and initial json structure

This commit is contained in:
Andreas Schröpfer
2021-02-25 20:33:04 +01:00
parent 1d17b8643b
commit 0e572dbeea
6 changed files with 180 additions and 0 deletions

14
cmd/test/main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"fmt"
xlsx "github.com/tealeg/xlsx/v3"
)
func main() {
xls, err := xlsx.OpenFile("../../test/gwb-rechner_5_0_4_vollbilanz.xlsx")
fmt.Println("OpenFile err:", err)
sl, err := xls.ToSlice()
fmt.Printf("err: %v\n\n%#v", err, sl[1])
}