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

Function Map

generic/generic.go:33–38  ·  view source on GitHub ↗

Map maps function f to each element of slice "s". It changes slice "s".

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMapSameFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestMapSameFunction · 0.56