Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LagrangeDev/LagrangeGo
/ typenameof
Function
typenameof
client/internal/cache/base.go:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
)
24
25
func
typenameof[T any]() string {
26
return
reflect.ValueOf((*T)(nil)).Type().String()
27
}
28
29
var
cacheTypesMap =
map
[string]cacheType{
30
typenameof[Cache](): cacheTypeCache,
Callers
1
base.go
File · 0.85
Calls
2
Type
Method · 0.65
String
Method · 0.45
Tested by
no test coverage detected