pointer

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T any](t *T) T

func To

func To[T any](t T) *T

func ToBool

func ToBool(val bool) *bool

func ToInt

func ToInt(num int) *int

func ToInt16

func ToInt16(num int16) *int16

func ToInt32

func ToInt32(num int32) *int32

func ToInt64

func ToInt64(num int64) *int64

func ToInt8

func ToInt8(num int8) *int8

func ToOrNil

func ToOrNil[T comparable](t T) *T

func ToString

func ToString(str string) *string

func ToUint

func ToUint(num uint) *uint

func ToUint16

func ToUint16(num uint16) *uint16

func ToUint32

func ToUint32(num uint32) *uint32

func ToUint64

func ToUint64(num uint64) *uint64

func ToUint8

func ToUint8(num uint8) *uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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