MCPcopy
hub / github.com/redis/go-redis / formatDBConnString

Function formatDBConnString

extra/redisotel/tracing.go:194–199  ·  view source on GitHub ↗
(network, addr string)

Source from the content-addressed store, hash-verified

192}
193
194func formatDBConnString(network, addr string) string {
195 if network == "tcp" {
196 network = "redis"
197 }
198 return fmt.Sprintf("%s://%s", network, addr)
199}
200
201func funcFileLine(pkg string) (string, string, int) {
202 const depth = 16

Callers 1

InstrumentTracingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected