MCPcopy Index your code
hub / github.com/pkg/errors / ptr

Method ptr

stack_test.go:19–21  ·  view source on GitHub ↗

ptr returns a Frame pointing to itself.

()

Source from the content-addressed store, hash-verified

17
18// ptr returns a Frame pointing to itself.
19func (x *X) ptr() Frame {
20 return caller()
21}
22
23func TestFrameFormat(t *testing.T) {
24 var tests = []struct {

Callers 1

TestFrameFormatFunction · 0.95

Calls 1

callerFunction · 0.85

Tested by

no test coverage detected