xlsx

package
v0.0.87 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Type  CellType
	Value string
}

func (*Cell) Boolean

func (c *Cell) Boolean() bool

func (*Cell) Float

func (c *Cell) Float() float64

func (*Cell) Integer

func (c *Cell) Integer() int

func (*Cell) String

func (c *Cell) String() string

func (*Cell) Time

func (c *Cell) Time() time.Time

type CellType

type CellType int
const (
	String CellType = iota
	Number
	Boolean
)

type Ref

type Ref struct {
	Row int
	Col int
}

func ParseRef

func ParseRef(str string) Ref

func (Ref) String

func (r Ref) String() string

type Sheet

type Sheet struct {
	Name  string
	Min   Ref
	Max   Ref
	Cells map[Ref]Cell
}

func Load

func Load(path string) ([]Sheet, error)

func Read

func Read(in io.ReaderAt, size int64) ([]Sheet, error)

Jump to

Keyboard shortcuts

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