mirror of
https://github.com/RGBCube/GoNew
synced 2025-07-31 09:27:46 +00:00
Initial commit
This commit is contained in:
commit
1c77137a38
5 changed files with 107 additions and 0 deletions
5
new.go
Normal file
5
new.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package new
|
||||
|
||||
func New[T any](thing T) *T {
|
||||
return &thing
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue