ptr

package
v2.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

func Byte

func Byte(b byte) *byte

func Complex128

func Complex128(c complex128) *complex128

func Complex64

func Complex64(c complex64) *complex64

func Duration

func Duration(d time.Duration) *time.Duration

func Float32

func Float32(f float32) *float32

func Float64

func Float64(f float64) *float64

func Int

func Int(i int) *int

func Int16

func Int16(i int16) *int16

func Int32

func Int32(i int32) *int32

func Int64

func Int64(i int64) *int64

func Int8

func Int8(i int8) *int8

func Rune

func Rune(r rune) *rune

func String

func String(s string) *string

func Time

func Time(t time.Time) *time.Time

func Uint

func Uint(u uint) *uint

func Uint16

func Uint16(u uint16) *uint16

func Uint32

func Uint32(u uint32) *uint32

func Uint64

func Uint64(u uint64) *uint64

func Uint8

func Uint8(u uint8) *uint8

func Uintptr

func Uintptr(u uintptr) *uintptr

func UnBool added in v2.7.0

func UnBool(b *bool) (bool, bool)

func UnByte added in v2.7.0

func UnByte(b *byte) (byte, bool)

func UnComplex128 added in v2.7.0

func UnComplex128(c *complex128) (complex128, bool)

func UnComplex64 added in v2.7.0

func UnComplex64(c *complex64) (complex64, bool)

func UnDuration added in v2.7.0

func UnDuration(d *time.Duration) (time.Duration, bool)

func UnFloat32 added in v2.7.0

func UnFloat32(f *float32) (float32, bool)

func UnFloat64 added in v2.7.0

func UnFloat64(f *float64) (float64, bool)

func UnInt added in v2.7.0

func UnInt(i *int) (int, bool)

func UnInt16 added in v2.7.0

func UnInt16(i *int16) (int16, bool)

func UnInt32 added in v2.7.0

func UnInt32(i *int32) (int32, bool)

func UnInt64 added in v2.7.0

func UnInt64(i *int64) (int64, bool)

func UnInt8 added in v2.7.0

func UnInt8(i *int8) (int8, bool)

func UnRune added in v2.7.0

func UnRune(r *rune) (rune, bool)

func UnString added in v2.7.0

func UnString(s *string) (string, bool)

func UnTime added in v2.7.0

func UnTime(t *time.Time) (time.Time, bool)

func UnUint added in v2.7.0

func UnUint(u *uint) (uint, bool)

func UnUint16 added in v2.7.0

func UnUint16(u *uint16) (uint16, bool)

func UnUint32 added in v2.7.0

func UnUint32(u *uint32) (uint32, bool)

func UnUint64 added in v2.7.0

func UnUint64(u *uint64) (uint64, bool)

func UnUint8 added in v2.7.0

func UnUint8(u *uint8) (uint8, bool)

func UnUintptr added in v2.7.0

func UnUintptr(u *uintptr) (uintptr, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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