pointer

package
v0.0.0-...-938e221 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 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(b bool) *bool

Bool returns a pointer to the supplied boolean.

func DerefBoolOr

func DerefBoolOr(b *bool, dflt bool) bool

DerefBoolOr dereferences and returns the supplied pointer. If the pointer is nil, it returns the supplied default value.

func Int64OrNil

func Int64OrNil(i int) *int64

Int64OrNil returns a pointer to int64. If the supplied integer is zero, it returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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