utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VLOOKUP = "VLOOKUP"
)

Variables

This section is empty.

Functions

func ColCh2Inx

func ColCh2Inx(col string) int32

func GetCellValueBySheet

func GetCellValueBySheet(cell *xlsx.Cell, sheet *xlsx.Sheet) any

func GetUniqueColRange

func GetUniqueColRange(from, to int) []int

func SetCellValueToSheet

func SetCellValueToSheet(oldCell, newCell *xlsx.Cell, sheet *xlsx.Sheet)

func Sort

func Sort[T any](values []T, comparator Comparator[T])

Types

type Comparator

type Comparator[T any] func(a, b T) int

Jump to

Keyboard shortcuts

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