# excelparser **Repository Path**: seraphic/excelparser ## Basic Information - **Project Name**: excelparser - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-09-29 - **Last Updated**: 2025-09-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # excelparser sample: fileName := "source/example.xlsx" ParseOnFile(fileName) type ExcelExample struct { Id uint64 ShopId uint32 Resource string ExchangeMoney uint32 ActId uint32 Lang string Page int32 PageOpen string Msg string GoodType int32 ClientContent string GoodContent string } exportFileName := "shop.export" content := readFile(exportFileName) contentList := strings.Split(content, "\n") for _, value := range contentList { if len(value) == 0 { continue } e := &ExcelExample{} err := json.Unmarshal([]byte(value), e) if err != nil { fmt.Println(err) } fmt.Printf("ExcelExample: %+v\n", e) }