ptr
import "github.com/superdurable/dex/sdk-go/dex/ptr"
Index
func Any
func Any[T any](obj T) *T
Any returns a pointer to a copy of obj.
It is useful for optional SDK fields whose literal values cannot otherwise be addressed directly. Mutating the returned value does not mutate the original.
options := dex.StartFlowOptions{RequestID: ptr.Any("request-42")}
Generated by gomarkdoc