From 8a335225c705232fe1174755a1b1ea475456b864 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 24 Mar 2022 00:19:30 +0800 Subject: Format code, update documentation and remove exported variable `XMLHeaderByte` --- chart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart.go') diff --git a/chart.go b/chart.go index 4543770..8f521fa 100644 --- a/chart.go +++ b/chart.go @@ -969,7 +969,7 @@ func (f *File) AddChartSheet(sheet, format string, combo ...string) error { // getFormatChart provides a function to check format set of the chart and // create chart format. func (f *File) getFormatChart(format string, combo []string) (*formatChart, []*formatChart, error) { - comboCharts := []*formatChart{} + var comboCharts []*formatChart formatSet, err := parseFormatChartSet(format) if err != nil { return formatSet, comboCharts, err -- cgit v1.2.1