Documentation
¶
Overview ¶
Package excelutil provides ... TODO: write a helpful docs file
Package excelutil is a command line program that converts an excel workbook with potentially multiple spread sheets of a given format to another format while doing the appropriate maths. It can create graphs and sort the columns of the primary output according to the maximum value per output. author: Daniel Schuette (email: d.schuette@online.de) license: MIT license (see github.com/DanielSchuette)
Index ¶
Constants ¶
const ( ENUM = 1 // enumerator = 340 DENOM = 2 // denominator = 380 SKIP = 3 // we don't want this field )
define constants
Variables ¶
This section is empty.
Functions ¶
func FindMaxElem ¶
FindMaxElem is a helper function for iterating over a map; it finds the max value ==> gets its index ==> returns the index of the max value
Types ¶
type ExcelWorkbook ¶
ExcelWorkbook holds all important workbook-related information
func (*ExcelWorkbook) Dimensions ¶
func (wb *ExcelWorkbook) Dimensions(sheet string) [2]int
Dimensions returns the dimensions of a sheet in the format (rows, cols)
func (*ExcelWorkbook) GetSheetNames ¶
func (wb *ExcelWorkbook) GetSheetNames()
GetSheetNames gets all sheet names from a given workbook and stores them in the ExcelWorkbook struct
func (*ExcelWorkbook) NumberOfSheets ¶
func (wb *ExcelWorkbook) NumberOfSheets() int
NumberOfSheets returns the number of sheets in an excelWorkbook
func (*ExcelWorkbook) Open ¶
func (wb *ExcelWorkbook) Open(name string)
Open opens a .xlsx file and assigns it to an ExcelWorkbook
Directories
¶
| Path | Synopsis |
|---|---|
|
Package excelutil is a command line program that converts an excel workbook with potentially multiple spread sheets of a given format to another format while doing the appropriate maths.
|
Package excelutil is a command line program that converts an excel workbook with potentially multiple spread sheets of a given format to another format while doing the appropriate maths. |