xlsxscan

package module
v0.0.0-...-22cb0ac Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 9 Imported by: 0

README

xlsxscan

Fast scanning of xlsx files.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Ref   string
	Value interface{}
}

func (Cell) String

func (c Cell) String() string

type Reader

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

func OpenFile

func OpenFile(fileName string) (*Reader, error)

func (*Reader) Close

func (r *Reader) Close()

func (*Reader) OpenSheetByName

func (r *Reader) OpenSheetByName(name string) (*SheetReader, error)

type Row

type Row struct {
	Number int
	Cells  []Cell
}

func (Row) String

func (r Row) String() string

type RowScanner

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

func NewRowScanner

func NewRowScanner(rc io.ReadCloser) (*RowScanner, error)

func (*RowScanner) Close

func (rs *RowScanner) Close()

func (*RowScanner) Scan

func (rs *RowScanner) Scan() (Row, bool)

type SheetReader

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

func NewSheetReader

func NewSheetReader(file *zip.File) *SheetReader

func (SheetReader) OpenRowScanner

func (sr SheetReader) OpenRowScanner() (*RowScanner, error)

type XMLStreamer

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

func NewXMLStreamer

func NewXMLStreamer(r io.Reader) *XMLStreamer

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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