Documentation ¶
Overview ¶
Package convert provides utilities for converting between different slice and map types.
This is a poor workaround until go has generics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntMapToSlice ¶
IntMapToSlice will return all the keys for the given intmap
func IntSliceToMap ¶
IntSliceToMap will return a map with keys created from the slice
func StringMapToSlice ¶
StringMapToSlice will return all the keys for the given string map
func UniqueStrings ¶
UniqueStrings will remove duplicates preserving order of the input
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.