MCPcopy Index your code
hub / github.com/apache/devlake / Val

Function Val

backend/test/helper/utils.go:72–74  ·  view source on GitHub ↗
(t T)

Source from the content-addressed store, hash-verified

70}
71
72func Val[T any](t T) *T {
73 return &t
74}
75
76func Cast[T any](m any) T {
77 j := ToJson(m)

Callers 1

CreateProjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected