types

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr creates a bool pointer value and returns it to the caller.

func BytePtr

func BytePtr(b byte) *byte

BytePtr creates a byte pointer value and returns it to the caller.

func Float32Ptr

func Float32Ptr(f float32) *float32

Float32Ptr creates a float32 pointer value and returns it to the caller.

func Float64Ptr

func Float64Ptr(f float64) *float64

Float64Ptr creates a float64 pointer value and returns it to the caller.

func Int16Ptr

func Int16Ptr(i int16) *int16

Int16Ptr creates an int16 pointer value and returns it to the caller.

func Int32Ptr

func Int32Ptr(i int32) *int32

Int32Ptr creates an int32 pointer value and returns it to the caller.

func Int64Ptr

func Int64Ptr(i int64) *int64

Int64Ptr creates an int64 pointer value and returns it to the caller.

func Int8Ptr

func Int8Ptr(i int8) *int8

Int8Ptr creates an int8 pointer value and returns it to the caller.

func IntPtr

func IntPtr(i int) *int

IntPtr creates an int pointer value and returns it to the caller.

func StringPtr

func StringPtr(s string) *string

StringPtr creates a string pointer value and returns it to the caller.

func Uint16Ptr

func Uint16Ptr(i uint16) *uint16

Uint16Ptr creates a uint16 pointer value and returns it to the caller.

func Uint32Ptr

func Uint32Ptr(i uint32) *uint32

Uint32Ptr creates a uint32 pointer value and returns it to the caller.

func Uint64Ptr

func Uint64Ptr(i uint64) *uint64

Uint64Ptr creates a uint64 pointer value and returns it to the caller.

func Uint8Ptr

func Uint8Ptr(i uint8) *uint8

Uint8Ptr creates a uint8 pointer value and returns it to the caller.

func UintPtr

func UintPtr(i uint) *uint

UintPtr creates a uint pointer value and returns it to the caller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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