pointers

package
v0.0.0-...-c3d1141 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBool

func NewBool(v bool) *bool

NewBool returns a pointer to a bool holding the value of v.

func NewFloat64

func NewFloat64(v float64) *float64

NewFloat64 returns a pointer to a float64 holding the value of v.

func NewInt32

func NewInt32(v int32) *int32

NewInt32 returns a pointer to a int32 holding the value of v.

func NewInt64

func NewInt64(v int64) *int64

NewInt64 returns a pointer to a int64 holding the value of v.

func NewInt64FromFloat64

func NewInt64FromFloat64(v float64) *int64

NewInt64FromFloat64 returns a pointer to an int64 holding the value of v after conversion to int64.

func NewString

func NewString(v string) *string

NewString returns a pointer to a string with the content of v.

Types

This section is empty.

Jump to

Keyboard shortcuts

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