github.com/survivorbat/slice-to-map (go): I needed this functionality without having to download a big utility package.
Keywords: generic|generics|go|golang|map|slice|slice-to-map|slicetomap|to|tomap