Documentation ¶
Overview ¶
Package goxlsx accesses Excel 2007 (.xslx) for reading.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spreadsheet ¶
type Spreadsheet struct {
// contains filtered or unexported fields
}
Spreadsheet represents the whole .xlsx file.
func OpenFile ¶
func OpenFile(path string) (*Spreadsheet, error)
OpenFile reads a file located at the given path and returns a spreadsheet object.
func (*Spreadsheet) GetWorksheet ¶
func (s *Spreadsheet) GetWorksheet(number int) (*Worksheet, error)
GetWorksheet returns the worksheet with the given number, starting at 0.
func (*Spreadsheet) NumWorksheets ¶
func (s *Spreadsheet) NumWorksheets() int
NumWorksheets returns the number of worksheets in a file.
type Worksheet ¶
type Worksheet struct { Name string MaxRow int MaxColumn int MinRow int MinColumn int // contains filtered or unexported fields }
Worksheet represents a single worksheet in an excel file. A worksheet is a rectangular area of cells, each cell can contain a value.
Click to show internal directories.
Click to hide internal directories.