pointerutil

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MPL-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr returns a pointer to a boolean value

func FileModePtr

func FileModePtr(o os.FileMode) *os.FileMode

FileModePtr returns a pointer to the given os.FileMode

func Int64Ptr

func Int64Ptr(i int64) *int64

Int64Ptr returns a pointer to an int64 value

func StringPtr

func StringPtr(s string) *string

StringPtr returns a pointer to a string value

func TimeDurationPtr

func TimeDurationPtr(duration string) *time.Duration

TimeDurationPtr returns a pointer to a time duration value

Types

This section is empty.

Jump to

Keyboard shortcuts

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