utils

package
v0.0.0-...-bb4b7bb Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildArrayString

func BuildArrayString(vals []string) string

func CheckDecimalPlaces

func CheckDecimalPlaces(val float64, decimal int) bool

func ContainAny

func ContainAny(s1 []string, s2 []string) bool

func ContainSlice

func ContainSlice(s1 []string, s2 []string) bool

func Contains

func Contains(s []string, e string) bool

func DistinctArrayString

func DistinctArrayString(inputList []string) (output []string)

func EqualsIgnoreCase

func EqualsIgnoreCase(s1, s2 string) bool

func InitAsymmetricKeyPair

func InitAsymmetricKeyPair() (*model.AsymmetricKeyPair, error)

func IsBlank

func IsBlank(s string) bool

func IsEmailValid

func IsEmailValid(email string) bool

func ParseArrayString

func ParseArrayString(arrStr string) []string

func RoundFloat

func RoundFloat(val float64, precision int) float64

func SafeGetMap

func SafeGetMap(m map[string]any, key string) map[string]any

func SafeGetString

func SafeGetString(m map[string]any, key string) string

func Uuid

func Uuid() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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