Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/danielgtaylor/huma
/ Ptr
Function
Ptr
validate_test.go:18–20 ·
view source on GitHub ↗
(v T)
Source
from the content-addressed store, hash-verified
16
)
17
18
func
Ptr[T any](v T) *T {
19
return
&v
20
}
21
22
func
mapTo[A, B any](s []A, f
func
(A) B) []B {
23
r := make([]B, len(s))
Callers
8
Schema
Method · 0.85
TransformSchema
Method · 0.85
TestSchema
Function · 0.85
TestCustomUnmarshalType
Function · 0.85
TestDowngrade
Function · 0.85
TestFeatures
Function · 0.85
TestCustomSchemaErrors
Function · 0.85
validate_test.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected