github.com/keysonZZZ/kmg@v0.0.0-20151121023212-05317bfd7d39/encoding/kmgExcel/doc.go (about) 1 /* 2 excel read and write package 3 Grid: []map[string]string same thing like mysql data struct 4 Array: [][]string excel data struct, Data should be in this format to read from excel or write to excel 5 TitleArray: excel data struct with first row as title(map key) of following data. 6 7 Read from xlsx: 8 XlsxFile2Array 9 XlsxFileSheetIndex2Array 10 XlsxFileFirstSheet2ArrayTrim 11 UnmarshalFile 12 UnmarshalFileSkipLine 13 14 Write to xlsx: 15 Array2XlsxFile 16 Array2XlsxIo 17 18 Tools: 19 TitleArrayToGrid 20 Trim2DArray 21 22 TODO find and remove all unnecessary function. 23 */ 24 25 package kmgExcel