ptr

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(val bool) *bool

Bool returns a pointer to a bool variable

func Int

func Int(val int) *int

Int returns a pointer to an int variable

func Int32

func Int32(val int32) *int32

Int32 returns a pointer to an int32 variable

func Int64

func Int64(val int64) *int64

Int64 returns a pointer to an int64 variable

func ReverseBool

func ReverseBool(val *bool) bool

ReverseBool returns a bool from a bool pointer

func ReverseString

func ReverseString(val *string) string

ReverseString returns a string from a string pointer

func String

func String(val string) *string

String returns a pointer to a string variable

Types

This section is empty.

Jump to

Keyboard shortcuts

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