Excelize is a library written in pure Go that provides a set of functions that allow you to read and write XLSX / XLSM / XLTM files. Supports reading and writing of spreadsheet documents generated in Microsoft Excel & trade; 2007 and later. It is highly compatible, supports complex components, and provides a streaming API for generating or reading data from worksheets that contain large amounts of data.
In some cases, import existing Excel document content, create a new Excel document, generate a new Excel document based on an existing document (template), insert an image into an Excel document, manipulate an Excel document such as a chart programmatically. is needed. Elements such as tables. You may need to implement these operations across platforms. Excelize can easily meet these needs.
GitHub: github.com/xuri/excelize
Doc: xuri.me/excelize/ja
2021-1-4, version 2.3.2 has been released. Notable are some new areas of functionality and numerous bug fixes.
A summary of the changes can be found in the Release Notes (https://github.com/360EntSecGroup-Skylar/excelize/releases/tag/v2.3.2).
The most notable changes in this version are:
AddPivotTable
supports default columns and multiple data sources, related issues # 710GetCellValue
supports custom date and time number formats, related issues # 703CalcCellValue
has added expression functions that support AND
, CLEAN
, TRIM
, LOWER
, PROPER
, UPPER
and OR
, related Problem # 701 and # 747AddChart
added support for setting the width of linetypes and line end types in data series, related issues # 549 and # 654.AddChart
Support for specifying whether to close a legend that does not overlap the chartNewSheet
could return the wrong worksheet index, related issue # 714AddPicture
would invalidate the specified adaptive size when inserting an image into a worksheet with multiple cells merged, related issue # 748worksheetWriter
on memory allocation at runtime.Add Picture
API performance improvements, related issues # 706