1
0
Fork 0

Compare commits

...

No commits in common. "9e9214d7445e7a23ec507cca93c8a698e4c6170c" and "d0c1cfef1ed3dfc95198442508c853ec795d8a23" have entirely different histories.

2 changed files with 9 additions and 0 deletions

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module source.toby3d.me/toby3d/hacks
go 1.22.0

6
pointer/pointer.go Normal file
View File

@ -0,0 +1,6 @@
package pointer
// Of returns pointer to provided v.
func Of[T any](v T) *T {
return &v
}