MCPcopy Create free account
hub / github.com/corestoreio/pkg / MapNew

Function MapNew

generic/generic.go:24–30  ·  view source on GitHub ↗

MapNew maps function f to each slice element and returns a new slice, leaving input slice "s" untouched.

(s []T, f func(T) T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMapNewFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMapNewFunction · 0.68