MCPcopy
hub / github.com/stretchr/testify / runtimeFunc

Function runtimeFunc

mock/mock.go:1277–1279  ·  view source on GitHub ↗
(opt interface{})

Source from the content-addressed store, hash-verified

1275}
1276
1277func runtimeFunc(opt interface{}) *runtime.Func {
1278 return runtime.FuncForPC(reflect.ValueOf(opt).Pointer())
1279}
1280
1281func funcName(f *runtime.Func) string {
1282 name := f.Name()

Callers 1

assertOptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected