Versions in this module Expand all Collapse all v2 v2.3.0 Apr 21, 2026 v2.1.0 Feb 9, 2026 Changes in this version + const COL_A + const DATE_FORMAT + const DATE_MINUTE_FORMAT + const DATE_TIME_FORMAT + const DATE_TIME_MONTH_FORMAT + var Location *time.Location + func ConvTimestampMilli(dateTime string) int64 + func ConvToMap(value any) map[string]any + func Delete(slice []string, index int) (newSlice []string) + func Desensitize(input string, keep ...int) string + func ExcelExport(sheetName string, titleCols []string, colFieldMap map[string]string, ...) error + func FormatDateTime(timestamp int64) string + func FormatDateTimeMonth(timestamp int64) string + func GenerateId() string + func GetLocalIp() string + func GetTemplateVariables(title, content string) []string + func NewKey(prefix string, length int, ids ...string) string + func RenderTemplate(title, content string, data map[string]any) (string, string, error) + func Round(f float64, n int) float64 + func ToMap[T any, K int | string](arr []T, fn func(T) K) map[K]T + func Unique[T IntInterface | string](data []T) []T + type DateTime struct + EndDate string + EndDateTime string + EndTimestamp int64 + StartDate string + StartDateTime string + StartTimestamp int64 + func Day(startTime, endTime string) (dateTimeList []*DateTime) + func MinuteRange(startTime, endTime int64) []*DateTime + func Month(startTime, endTime string) (dateTimeList []*DateTime) + func Week(startTime, endTime string) (dateTimeList []*DateTime) + type IntInterface interface Other modules containing this package github.com/iimeta/fastapi-admin