 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package xlsx mainly implements the stream/file interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInStream ¶
NewInStream - Creates an XLSX input stream named 'filename'.
func NewOutStream ¶
NewOutStream - Creates an XLSX output stream named 'filename'.
Types ¶
type Column ¶
type Column struct {
	Index  string `json:"index"`  // Column index, e.g., A, B, C, ..., AA, ...
	Type   string `json:"type"`   // Type (bool, bigInt, decimal, string, time)
	Format string `json:"format"` // Joda time format
	// contains filtered or unexported fields
}
    Column represents column information
type InConfig ¶
type InConfig struct {
	Columns    []Column `json:"column"`     // Column information array
	Sheet      string   `json:"sheet"`      // Sheet name
	NullFormat string   `json:"nullFormat"` // Null text
	StartRow   int      `json:"startRow"`   // Starting row for reading, starting from the 1st row
}
    InConfig represents the input XLSX configuration
type OutConfig ¶
type OutConfig struct {
	Columns    []Column `json:"column"`     // Column information array
	Sheets     []string `json:"sheets"`     // Sheet name
	NullFormat string   `json:"nullFormat"` // Null text
	HasHeader  bool     `json:"hasHeader"`  // Whether there is a column header
	Header     []string `json:"header"`     // Column header
	SheetRow   int      `json:"sheetRow"`   // Maximum number of rows in the sheet
}
    OutConfig represents the output XLSX configuration
type Rows ¶
type Rows struct {
	*excelize.Rows
	// contains filtered or unexported fields
}
    Rows - Represents a row reader for CSV data.
type Stream ¶
type Stream struct {
	// contains filtered or unexported fields
}
    Stream - Represents an XLSX file stream.
 Click to show internal directories. 
   Click to hide internal directories.