Ptr is a helper function to create a pointer to a value
(v T)
| 7 | |
| 8 | // Ptr is a helper function to create a pointer to a value |
| 9 | func Ptr[T any](v T) *T { |
| 10 | return &v |
| 11 | } |
| 12 | |
| 13 | // Val is a helper function to create a value from a pointer |
| 14 | func Val[T any](v *T) T { |
nothing calls this directly
no outgoing calls
no test coverage detected