Documentation ¶
Index ¶
- func ArrayEquals(a []string, b []string) bool
- func BoolPointerToSelectField(b *bool) string
- func Diff2DStringSlice(origins [][]string, updated [][]string) (added [][]string, removed [][]string)
- func DiffStringSlice(origins []string, updated []string) (added []string, removed []string)
- func In2DStringSlice(slices [][]string, slice []string) bool
- func InInt32Slice(slice []int32, num int32) bool
- func InStringSlice(slice []string, str string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayEquals ¶
ArrayEquals determines whether two string arrays are identical.
func BoolPointerToSelectField ¶
BoolPointerToSelectField converts the bool pointer the string of select field.
func Diff2DStringSlice ¶
func Diff2DStringSlice(origins [][]string, updated [][]string) (added [][]string, removed [][]string)
DiffStringSlice returns the difference between two given string arrays, including deleted and added elements.
func DiffStringSlice ¶
DiffStringSlice returns the difference between two given string arrays, including deleted and added elements.
func In2DStringSlice ¶
InStringSlice checks if all elements in the array are strings.
func InInt32Slice ¶
InInt32Slice checks if all elements in the array are integers.
func InStringSlice ¶
InStringSlice checks if all elements in the array are strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.