MCPcopy
hub / github.com/jmoiron/sqlx / methodName

Function methodName

reflectx/reflect.go:253–260  ·  view source on GitHub ↗

methodName returns the caller of the function calling methodName

()

Source from the content-addressed store, hash-verified

251
252// methodName returns the caller of the function calling methodName
253func methodName() string {
254 pc, _, _, _ := runtime.Caller(2)
255 f := runtime.FuncForPC(pc)
256 if f == nil {
257 return "unknown method"
258 }
259 return f.Name()
260}
261
262type typeQueue struct {
263 t reflect.Type

Callers 1

mustBeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected