utils

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumSliceToAnySlice added in v0.3.0

func EnumSliceToAnySlice(enum interface{}) []any

func EnumSliceToStringSlice added in v0.3.0

func EnumSliceToStringSlice(enum interface{}) []string

func EnumToString added in v0.3.0

func EnumToString(enum interface{}) string

func Int32Ptr added in v0.4.12

func Int32Ptr(d int32) *int32

func RandIntRange added in v0.3.0

func RandIntRange(max int) (*big.Int, error)

func RandStringFromCharSet added in v0.3.0

func RandStringFromCharSet(strlen int, charSet string) (string, error)

func SafeIntToInt32 added in v0.4.9

func SafeIntToInt32(value int) (int32, error)

func StringPtr added in v0.4.12

func StringPtr(s string) *string

func StringSliceToAnySlice added in v0.3.0

func StringSliceToAnySlice(v []string) []any

Types

This section is empty.

Jump to

Keyboard shortcuts

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