Files
threshold/internal/util/pointer.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
164 B
Go
Raw Normal View History

package util
// Pointer is just a generic function to return a pointer of whatever type is
// given
func Pointer[T any](input T) *T {
ret := input
return &ret
}