** * Utility function for referencing a type with a pointer. * This is the same as dereferencing with &, but unlike & * you can directly use it on the ouput of a function * without needing to create an intermediate variable */
(x T)
| 967 | * without needing to create an intermediate variable |
| 968 | */ |
| 969 | func Ptr[T any](x T) *T { |
| 970 | return &x |
| 971 | } |
| 972 | |
| 973 | /** |
| 974 | * Utility function to convert know architecture patterns |
no outgoing calls
no test coverage detected