MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / NewString

Function NewString

pkg/funclet/runtime/cgroup/string.go:30–34  ·  view source on GitHub ↗

New creates a String from a list of values.

(items ...string)

Source from the content-addressed store, hash-verified

28
29// New creates a String from a list of values.
30func NewString(items ...string) String {
31 ss := String{}
32 ss.Insert(items...)
33 return ss
34}
35
36// StringKeySet creates a String from a keys of a map[string](? extends interface{}).
37// If the value passed in is not actually a map, this will panic.

Callers 4

DifferenceMethod · 0.85
UnionMethod · 0.85
IntersectionMethod · 0.85
ExistsMethod · 0.85

Calls 1

InsertMethod · 0.95

Tested by

no test coverage detected