Files
gatus/config/util.go
T

6 lines
111 B
Go
Raw Normal View History

package config
// toPtr returns a pointer to the given value
func toPtr[T any](value T) *T {
return &value
}