exceldata

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenFile

func OpenFile(path, password string) (*excelize.File, error)

OpenFile returns Excel file instance.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

Reader is class of Excel data

func New

func New(xlsx *excelize.File, sheetName string) (*Reader, error)

New function creates a new Reader instance.

Example
Output:

Mercury

func (*Reader) Close

func (r *Reader) Close() error

Close method is dummy.

func (*Reader) LazyQuotes added in v0.6.0

func (r *Reader) LazyQuotes() bool

LazyQuotes returns true.

func (*Reader) Read

func (r *Reader) Read() ([]string, error)

Read method returns next row data.

func (*Reader) TrimSpace added in v0.7.0

func (r *Reader) TrimSpace() bool

TrimSpace returns false.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL