Discover Packages
github.com/maxatome/go-testdeep
internal
flat
package
Version:
v1.15.0
Opens a new window with list of versions in this module.
Published: Feb 14, 2026
License: BSD-2-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Interfaces(items ...any ) []any
Interfaces returns the items values as a slice of
any. Nested Slice items are flattened.
Len returns the number of items contained in items. Nested Slice
items are counted as if they are flattened. It returns false if at
least one Slice item is found, true otherwise meaning the slice
is already flattened.
Values returns the items values as a slice of
reflect.Value . Nested Slice items are flattened.
type Slice struct {
Slice any
}
Slice allows to flatten any slice, array, map or int range.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.