Documentation
¶
Index ¶
- type Cell
- type Error
- type Excel
- func (e Excel) Export(v any) (*bytes.Buffer, error)
- func (e Excel) ExportTo(w io.Writer, v any) error
- func (e *Excel) Offset(n int) *Excel
- func (e Excel) Scan(v any) error
- func (e Excel) StreamExport(v any) (*bytes.Buffer, error)
- func (e Excel) StreamExportTo(w io.Writer, v any) error
- func (e *Excel) UseTextStyle() *Excel
- type HyperLink
- type LinkType
- type PicFormat
- type Picture
- type Row
- type Schema
- type Sheet
- func (s *Sheet) CollectErrors() *Sheet
- func (s *Sheet) Errors() []Error
- func (s *Sheet) Export(v any) (*bytes.Buffer, error)
- func (s *Sheet) ExportTo(w io.Writer, v any) error
- func (s *Sheet) Filter(schema Schema) *Sheet
- func (s *Sheet) Offset(n int) *Sheet
- func (s *Sheet) Scan(v any) error
- func (s *Sheet) StreamExport(v any) (*bytes.Buffer, error)
- func (s *Sheet) StreamExportTo(writer io.Writer, v any) error
- func (s *Sheet) UseTextStyle() *Sheet
- type XLSXMarshaler
- type XLSXUnmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Excel ¶
type Excel struct {
// contains filtered or unexported fields
}
func NewExcelFromReader ¶
Create a new Excel instance with io.Reader.
func (Excel) Scan ¶
Scan reads the data from the Excel file and stores it in the struct pointed to by Slice.
func (Excel) StreamExport ¶
StreamExport exports the struct pointed to by Slice to an byte buffer.
func (Excel) StreamExportTo ¶
StreamExport exports the struct pointed to by Slice to an io.Writer.
func (*Excel) UseTextStyle ¶
UseTextStyle sets the style of the cell to text.
type PicFormat ¶
type PicFormat excelize.GraphicOptions
type Picture ¶
type Picture struct {
Name string
File []byte
Format *PicFormat
// contains filtered or unexported fields
}
func NewPicture ¶
func NewPictureFromBytes ¶
type Sheet ¶
type Sheet struct {
// contains filtered or unexported fields
}
func NewSheetFromFile ¶
NewSheetFromFile creates a new Sheet from a file.
func NewSheetFromReader ¶
NewSheetFromReader creates a new Sheet from a io.Reader.
func (*Sheet) CollectErrors ¶
CollectErrors collects errors while scanning the sheet.
func (*Sheet) UseTextStyle ¶
UseTextStyle sets the style of the cell to text.
type XLSXMarshaler ¶
type XLSXUnmarshaler ¶
Click to show internal directories.
Click to hide internal directories.