Documentation ¶
Index ¶
- func ConvertStringSet(set *schema.Set) []string
- func GetBoolPointer(b bool) *bool
- func GetEnv(key, fallback string) string
- func GetIntPointer(number int) *int
- func GetStringPointer(s string) *string
- func InterfaceSliceToStringSlice(data []interface{}) []string
- func Intersection(a, b []int) (c []int)
- func StringSliceToInterfaceSlice(strings []string) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringSet ¶
func GetBoolPointer ¶
func GetIntPointer ¶
func GetStringPointer ¶
func InterfaceSliceToStringSlice ¶
func InterfaceSliceToStringSlice(data []interface{}) []string
func Intersection ¶
Copied from https://siongui.github.io/2018/03/09/go-match-common-element-in-two-array/
func StringSliceToInterfaceSlice ¶
func StringSliceToInterfaceSlice(strings []string) []interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.