Versions in this module Expand all Collapse all v1 v1.1.0 Nov 12, 2023 Changes in this version + const DateDayFormat + func DateNumber() string + func FormatDatetime(timestamp int64) string + func IsDateFormat(date string) bool + func Location() *time.Location v1.0.0 Oct 17, 2023 Changes in this version + func EscapeHtml(value string) string + func GenerateId() string + func NewMsgId() string + func ParseHtmlImage(text string) string + func ParseHtmlImageAll(text string) []string + func ParseIds(str string) []int + func ReplaceImgAll(value string) string + func Retry(num int, sleep time.Duration, fn func() error) error + func ToMap(arr []T, fn func(T) K) map[K]T + func Unique(data []T) []T + type IntInterface interface + type RoundRobin struct + CurIndex int + func (roundRobin *RoundRobin) RoundRobin(values []string) (value string)