MCPcopy
hub / github.com/dapr/dapr / wrapString

Function wrapString

pkg/components/state/pluggable_test.go:160–162  ·  view source on GitHub ↗

wrapString into quotes

(str string)

Source from the content-addressed store, hash-verified

158
159// wrapString into quotes
160func wrapString(str string) string {
161 return fmt.Sprintf("\"%s\"", str)
162}
163
164func TestComponentCalls(t *testing.T) {
165 getStateStore := func(srv *server) (statestore *grpcStateStore, cleanupf func(), err error) {

Callers 2

TestComponentCallsFunction · 0.85
TestMappersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected