Documentation
¶
Index ¶
- func Diff(a, b any) string
- func FormatInt(i int) string
- func GetToday(n ...int) time.Time
- func HMAC256(key, content string) string
- func HMAC256Hex(key, content string) string
- func Hash(h hash.Hash, content string) string
- func HashHex(h hash.Hash, content string) string
- func MD5Hex(content string) string
- func NodeAttrExists(node *html.Node, fn func(attr html.Attribute) bool) bool
- func NodeAttrSearch(node *html.Node, fn func(attr html.Attribute) bool) string
- func NodeChildren(node *html.Node, childTags ...string) (nodes []*html.Node)
- func NodeSearch(node *html.Node, fn func(node *html.Node) bool) *html.Node
- func NodeTitle(node *html.Node) string
- func Ntfy(topic, title, text string)
- func RandAlphanum(n int) string
- func RandDict(dict string, n int) string
- func RandHex(n int) string
- func SHA256Hex(content string) string
- func ToMap[T any](input any) map[string]T
- func ToMapString(input any) map[string]string
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HMAC256Hex ¶
func NodeAttrSearch ¶
func RandAlphanum ¶
func ToMapString ¶ added in v1.0.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.