typeconv

package
v0.0.0-...-018471a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInconsistentTypes = errors.New("slice items have inconsistent types")

ErrInconsistentTypes returned when a given slice of has inconsistent types of items

Functions

func ConvertInterfaceSliceToTypedSlice

func ConvertInterfaceSliceToTypedSlice(interfaceSlice []interface{}) (interface{}, error)

ConvertInterfaceSliceToTypedSlice converts interface slice into a types go slice

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL