...

Package pointerx

import "github.com/ory/x/pointerx"
Overview
Index

Overview ▾

func Bool

func Bool(s bool) *bool

Bool returns the input value's pointer.

func BoolR

func BoolR(s *bool) bool

BoolR is the reverse to Bool.

func Float32

func Float32(s float32) *float32

Float32 returns the input value's pointer.

func Float32R

func Float32R(s *float32) float32

Float32R is the reverse to Float32.

func Float64

func Float64(s float64) *float64

Float64 returns the input value's pointer.

func Float64R

func Float64R(s *float64) float64

Float64R is the reverse to Float64.

func Int

func Int(s int) *int

Int returns the input value's pointer.

func Int32

func Int32(s int32) *int32

Int32 returns the input value's pointer.

func Int32R

func Int32R(s *int32) int32

Int32R is the reverse to Int32.

func Int64

func Int64(s int64) *int64

Int64 returns the input value's pointer.

func Int64R

func Int64R(s *int64) int64

Int64R is the reverse to Int64.

func IntR

func IntR(s *int) int

IntR is the reverse to Int.

func String

func String(s string) *string

String returns the input value's pointer.

func StringR

func StringR(s *string) string

StringR is the reverse to String.