pointerx

package
v0.0.146 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 0 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool added in v0.0.46

func Bool(s bool) *bool

Bool returns the input value's pointer.

func BoolR added in v0.0.46

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 added in v0.0.46

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 added in v0.0.46

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 added in v0.0.46

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 added in v0.0.46

func Int64R(s *int64) int64

Int64R is the reverse to Int64.

func IntR added in v0.0.46

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 added in v0.0.46

func StringR(s *string) string

StringR is the reverse to String.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL