func (e *Excel) saveAndCloseExcel(filename string) (err error) {
	e.xlsx.DeleteSheet("Sheet1")
	e.xlsx.SetActiveSheet(1)
	err = e.xlsx.SaveAs(filename)
	if err != nil {
		return errors.Wrapf(err, "erro ao salvar planilha")
	}
	return
}
saveAndCloseExcel saves to filename (need to set the directory as well)
package reports
import (
	"encoding/json"
	"strconv"
	"github.com/360EntSecGroup-Skylar/excelize"
	"github.com/pkg/errors"
)
type Excel struct {
	xlsx *excelize.File
}
func newExcel() (e *Excel) {
	e = &Excel{}
	e.xlsx = excelize.NewFile()
	return
}