mirror of
https://github.com/aykhans/go-utils.git
synced 2025-10-15 18:25:57 +00:00
first commit
This commit is contained in:
5
common/convert.go
Normal file
5
common/convert.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package common
|
||||
|
||||
func ToPtr[T any](value T) *T {
|
||||
return &value
|
||||
}
|
Reference in New Issue
Block a user