values

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToByteSlicesPointer

func ToByteSlicesPointer(v [][]byte) *[][]byte

ToByteSlicesPointer returns a pointer to the [][]byte value passed in.

func ToBytesPointer

func ToBytesPointer(v []byte) *[]byte

ToBytesPointer returns a pointer to the []byte value passed in.

func ToDurationPointer

func ToDurationPointer(v time.Duration) *time.Duration

ToDurationPointer returns a pointer to the time.Duration value passed in.

func ToFloat32Pointer

func ToFloat32Pointer(v float32) *float32

ToFloat32Pointer returns a pointer to the float32 value passed in.

func ToFloat64Pointer

func ToFloat64Pointer(v float64) *float64

ToFloat64Pointer returns a pointer to the float64 value passed in.

func ToInt16Pointer

func ToInt16Pointer(v int16) *int16

ToInt16Pointer returns a pointer to the int16 value passed in.

func ToInt32Pointer

func ToInt32Pointer(v int32) *int32

ToInt32Pointer returns a pointer to the int32 value passed in.

func ToInt64Pointer

func ToInt64Pointer(v int64) *int64

ToInt64Pointer returns a pointer to the int64 value passed in.

func ToInt8Pointer

func ToInt8Pointer(v int8) *int8

ToInt8Pointer returns a pointer to the int8 value passed in.

func ToIntPointer

func ToIntPointer(v int) *int

ToIntPointer returns a pointer to the int value passed in.

func ToStringPointer

func ToStringPointer(v string) *string

ToStringPointer returns a pointer to the string value passed in.

func ToStringSlicePointer

func ToStringSlicePointer(v []string) *[]string

ToStringSlicePointer returns a pointer to the []string value passed in.

func ToTimePointer

func ToTimePointer(v time.Time) *time.Time

ToTimePointer returns a pointer to the time.Time value passed in.

func ToUint16Pointer

func ToUint16Pointer(v uint16) *uint16

ToUint16Pointer returns a pointer to the uint16 value passed in.

func ToUint32Pointer

func ToUint32Pointer(v uint32) *uint32

ToUint32Pointer returns a pointer to the uint32 value passed in.

func ToUint64Pointer

func ToUint64Pointer(v uint64) *uint64

ToUint64Pointer returns a pointer to the uint64 value passed in.

func ToUint8Pointer

func ToUint8Pointer(v uint8) *uint8

ToUint8Pointer returns a pointer to the uint8 value passed in.

func ToUintPointer

func ToUintPointer(v uint) *uint

ToUintPointer returns a pointer to the uint value passed in.

Types

This section is empty.

Source Files

  • values.go

Jump to

Keyboard shortcuts

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