Files
goext/excelext/utils.go
Mike Schwörer b01e659bb4
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m24s
v0.0.630
2026-03-14 14:10:09 +01:00

27 lines
440 B
Go

package excelext
import (
"strconv"
"git.blackforestbytes.com/BlackForestBytes/goext/rfctime"
"github.com/360EntSecGroup-Skylar/excelize"
)
func c(row int, col int) string {
return excelize.ToAlphaString(col) + strconv.Itoa(row)
}
func excelizeOptTime(t *rfctime.RFC3339NanoTime) any {
if t == nil {
return ""
}
return t.Time()
}
func excelizeOptDate(t *rfctime.Date) any {
if t == nil {
return ""
}
return t.TimeUTC()
}