utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqualJSON added in v0.14.0

func DeepEqualJSON(a, b []byte) bool

func EnumSliceToAnySlice added in v0.18.0

func EnumSliceToAnySlice(enum interface{}) []any

func EnumSliceToStringSlice added in v0.14.0

func EnumSliceToStringSlice(enum interface{}) []string

func EnumToString added in v0.14.0

func EnumToString(enum interface{}) string

func Int32SliceToAnySlice added in v0.18.0

func Int32SliceToAnySlice(v []int32) []any

func Int64SliceToAnySlice added in v0.18.0

func Int64SliceToAnySlice(v []int64) []any

func IntSliceToAnySlice added in v0.18.0

func IntSliceToAnySlice(v []int) []any

func MergeSchemaAttributeMaps added in v0.23.0

func MergeSchemaAttributeMaps(dest, src map[string]schema.Attribute, overwrite bool)

func RandIntRange

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

func RandStringFromCharSet

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

func StringSliceToAnySlice added in v0.18.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