utils

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSlashes added in v1.0.31

func AddSlashes(s string) string

func Dechex

func Dechex(number int64) string

func EqualStringPtr added in v1.0.31

func EqualStringPtr(a, b *string) bool

func FilterIntsPtr added in v1.0.31

func FilterIntsPtr(lengths []*int) []int

func Quote

func Quote(s string, delimiter string) string

func SplObjectID

func SplObjectID(v any) string

func Substr

func Substr(input string, offset int, length int) string

Substr - Returns a substring of a string. NOTE: this isn't multi-Unicode-codepoint aware, like specifying skintone or

gender of an emoji: https://unicode.org/emoji/charts/full-emoji-modifiers.html

func ToLowerList added in v1.0.31

func ToLowerList(stringList []string) []string

func ToSnakeCase

func ToSnakeCase(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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