Documentation ¶
Index ¶
- func Contains[T comparable](data []T, v T) bool
- func ElementsMatch(listA, listB interface{}) (ok bool, err error)
- func ElementsMatchImplicit(listA, listB interface{}) bool
- func GetInt(slice []int, index int) (int, bool)
- func GetString(slice []string, index int) (string, bool)
- func InsertStringAt(data []string, i int, v string) []string
- func IntRangeUncapped(in []int, start, end int) []int
- func ObjectsAreEqual(expected, actual interface{}) bool
- func Pop[T any](data []T) (T, []T, error)
- func RemoveFromStrings(slice []string, indexes ...int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](data []T, v T) bool
func ElementsMatch ¶
func ElementsMatchImplicit ¶
func ElementsMatchImplicit(listA, listB interface{}) bool
func InsertStringAt ¶
InsertAt inserts v into data at position i
func IntRangeUncapped ¶
func ObjectsAreEqual ¶
func ObjectsAreEqual(expected, actual interface{}) bool
ObjectsAreEqual determines if two objects are considered equal.
This function does no assertion of any kind.
func RemoveFromStrings ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.