mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-08 16:20:02 +00:00
5 lines
98 B
Go
5 lines
98 B
Go
|
package helpers
|
||
|
|
||
|
// Ptr creates a pointer to any given type
|
||
|
func Ptr[T any](v T) *T { return &v }
|