pointer

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareBoolPtr

func CompareBoolPtr(ptr *bool, b bool) bool

CompareBoolPtr compares a bool pointer to a bool primitive Returns false if bool pointer is nil

func Of added in v1.41.0

func Of[E any](e E) *E

Of is a helper to allow taking the address of a string literal

Types

This section is empty.

Jump to

Keyboard shortcuts

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