Sha256: 9ed729da151e4efeac61abfaaa7b0b26f810de4fcb06cf1322681006a7e70051
Contents?: true
Size: 252 Bytes
Versions: 219
Compression:
Stored size: 252 Bytes
Contents
package etl import "strings" type legacy map[int][]string func Transform(in legacy) (out map[string]int) { out = make(map[string]int) for key, values := range in { for _, val := range values { out[strings.ToLower(val)] = key } } return }
Version data entries
219 entries across 219 versions & 1 rubygems