Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bracesdev/errtrace
/ wrap
Function
wrap
internal/pc/pc_test.go:9–11 ·
view source on GitHub ↗
go:noinline
(err error)
Source
from the content-addressed store, hash-verified
7
8
//go:noinline
9
func
wrap(err error) uintptr {
10
return
GetCaller()
11
}
12
13
func
BenchmarkGetCaller(b *testing.B) {
14
err := errors.New(
"test"
)
Callers
1
BenchmarkGetCaller
Function · 0.70
Calls
1
GetCaller
Function · 0.70
Tested by
no test coverage detected