init - add project files
This commit is contained in:
6
tools/jet-2.12.0/internal/utils/ptr/ptr.go
Normal file
6
tools/jet-2.12.0/internal/utils/ptr/ptr.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package ptr
|
||||
|
||||
// Of returns the address of any given parameter
|
||||
func Of[T any](value T) *T {
|
||||
return &value
|
||||
}
|
||||
Reference in New Issue
Block a user