excel

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package excel reads tabular data (rows) from XLSX spreadsheets.

Index

Constants

View Source
const (
	ErrCodeExcelOpenFile  = "XLS-001"
	ErrCodeExcelOpenSheet = "XLS-002"
	ErrCodeExcelReadRows  = "XLS-003"
)

Variables

View Source
var (
	ErrExcelOpenFile = func(cause error) error {
		return jet.NewAppErrBuilder(ErrCodeExcelOpenFile, "").Wrap(cause).Err()
	}
	ErrExcelOpenSheet = func() error {
		return jet.NewAppErrBuilder(ErrCodeExcelOpenSheet, "unable to find excel sheet to open").Err()
	}
	ErrExcelReadRows = func(cause error) error {
		return jet.NewAppErrBuilder(ErrCodeExcelReadRows, "").Wrap(cause).Err()
	}
)

Functions

func ReadFromReader

func ReadFromReader(file io.ReadCloser) ([][]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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