Documentation ¶
Index ¶
Constants ¶
View Source
const ( XLSX_TAG_CELL = "cell" XLSX_TAG_CELL_AUTO = "auto" XLSX_TAG_CELL_SKIP = "-" XLSX_TAG_TITLE = "title" XLSX_TAG_SHEET = "sheet" XLSX_TAG_FORMAT = "format" XLSX_TAG_LINK = "link" )
Variables ¶
This section is empty.
Functions ¶
func IsNotStructType ¶
func IsSliceType ¶
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
Field - информация об одном поле
type Sheet ¶
type Sheet struct {
// contains filtered or unexported fields
}
Sheet - закладка в Excel файле
func (*Sheet) SetRowStyle ¶
func (*Sheet) SetTitleStyle ¶
type WriteOption ¶
type WriteOption struct { SetTitles bool NewRow bool //SheetName string TitlePrefix string GroupTitles bool TitleGroupName string Transpose bool // поменять столбцы и строки AutoFilter bool CascadeStruct bool // каскадно выводить все вложенные структуры FloatPrecision int // точность округления данных }
type Xlsx ¶
type Xlsx struct {
// contains filtered or unexported fields
}
func (*Xlsx) WriteObject ¶
func (xls *Xlsx) WriteObject(val any, opt WriteOption) (err error)
func (*Xlsx) WriteStruct ¶
func (xls *Xlsx) WriteStruct(val interface{}, sheetNameIn string, opt WriteOption) (err error)
Click to show internal directories.
Click to hide internal directories.