internal

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColToLetter

func ColToLetter(col int) string

ColToLetter converts a 1-indexed column number to Excel letter(s)

func DiffImages

func DiffImages(before, after image.Image) (*image.RGBA, int, error)

DiffImages compares two images pixel-by-pixel and returns a diff image. Changed pixels show the "after" value at full color, surrounded by a black+white double-stroke outline. Unchanged pixels are desaturated and dimmed. Returns the count of changed pixels.

func FormatAddress

func FormatAddress(sheet string, startRow, startCol, endRow, endCol int) string

FormatAddress builds an address string like "Sheet1!A1:Z50"

func FormatDiffSummary

func FormatDiffSummary(changed, total int) string

FormatDiffSummary returns a human-readable diff summary string.

func ParseRange

func ParseRange(address string) (sheet string, startRow, startCol, endRow, endCol int, err error)

ParseRange parses an address like "Sheet1!A1:Z50" and returns (sheet, startRow, startCol, endRow, endCol) in 1-indexed form.

Types

This section is empty.

Jump to

Keyboard shortcuts

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