utils

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File = &fileUtils{}
View Source
var Go *goUtils = &goUtils{}
View Source
var Gzip = &gzipUtils{}
View Source
var OS = &osUtils{}
View Source
var Shell *shellUtils = &shellUtils{}
View Source
var String = &stringUtils{}

Functions

func CopyMap

func CopyMap[K comparable, V any](m map[K]V) (res map[K]V)

func GetCodableMap

func GetCodableMap(m map[any]any) map[string]any

func GetMapKeys

func GetMapKeys[K comparable, V any](m map[K]V) (res []K)

func GetMapValues

func GetMapValues[K comparable, V any](m map[K]V) (res []V)

func Marshal

func Marshal(v any) string

func Max

func Max[T definitions.Number](a, b T) T

func Min

func Min[T definitions.Number](a, b T) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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