MCPcopy
hub / github.com/grpc/grpc-go / removeLeadingSlash

Function removeLeadingSlash

stats/opentelemetry/opentelemetry.go:237–239  ·  view source on GitHub ↗
(mn string)

Source from the content-addressed store, hash-verified

235}
236
237func removeLeadingSlash(mn string) string {
238 return strings.TrimLeft(mn, "/")
239}
240
241// attemptInfo is RPC information scoped to the RPC attempt life span client
242// side, and the RPC life span server side.

Callers 4

determineMethodFunction · 0.70
TagRPCMethod · 0.70
TagRPCMethod · 0.70
createCallTraceSpanMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected