MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / getName

Function getName

api/pkg/telemetry/otel_tracer.go:72–77  ·  view source on GitHub ↗
(name ...string)

Source from the content-addressed store, hash-verified

70}
71
72func getName(name ...string) string {
73 if len(name) > 0 {
74 return name[0]
75 }
76 return functionName()
77}
78
79func functionName() string {
80 pc := make([]uintptr, 15)

Callers 4

StartFromFiberCtxMethod · 0.85
StartWithLoggerMethod · 0.85
StartMethod · 0.85

Calls 1

functionNameFunction · 0.85

Tested by

no test coverage detected