Files

6 lines
111 B
Go
Raw Permalink Normal View History

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