Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToInterfaceSlice ¶
func ToInterfaceSlice(slice interface{}) (resp []interface{})
ToInterfaceSlice converts any slice into a slice of empty interfaces.
If the input argument is not a slice it panics.
Types ¶
type ToInterfaceSlicer ¶
type ToInterfaceSlicer interface {
ToInterfaceSlice() []interface{}
}
ToInterfaceSlicer describes objects that can be converted to a list of interfaces
Click to show internal directories.
Click to hide internal directories.