converters

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference(a, b []string) []string

from https://stackoverflow.com/a/45428032

func IfArrToIntArr

func IfArrToIntArr(ifaceArr []interface{}) []int

func IfArrToIntStringArr

func IfArrToIntStringArr(ifaceArr []interface{}) []string

func IfArrToStringArr

func IfArrToStringArr(ifaceArr []interface{}) []string

func InterfaceMapToStringMap added in v1.23.0

func InterfaceMapToStringMap(mapIn map[string]interface{}) map[string]string

func ListToInt32List added in v1.23.0

func ListToInt32List(list []interface{}) []int32

func SetToStringList added in v1.23.0

func SetToStringList(set *schema.Set) []string

func StringArrToIfArr

func StringArrToIfArr(sli []string) []interface{}

func ToLowerIf

func ToLowerIf(v interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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