ptr

package
v2.19.0 Latest Latest
Warning

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

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

Documentation

Overview

Deprecated: Use helpers.Ptr instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool deprecated

func Bool(b bool) *bool

Deprecated: Use helpers.Ptr instead.

func Byte deprecated

func Byte(b byte) *byte

Deprecated: Use helpers.Ptr instead.

func Complex128 deprecated

func Complex128(c complex128) *complex128

Deprecated: Use helpers.Ptr instead.

func Complex64 deprecated

func Complex64(c complex64) *complex64

Deprecated: Use helpers.Ptr instead.

func Duration deprecated

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

Deprecated: Use helpers.Ptr instead.

func Float32 deprecated

func Float32(f float32) *float32

Deprecated: Use helpers.Ptr instead.

func Float64 deprecated

func Float64(f float64) *float64

Deprecated: Use helpers.Ptr instead.

func Int deprecated

func Int(i int) *int

Deprecated: Use helpers.Ptr instead.

func Int16 deprecated

func Int16(i int16) *int16

Deprecated: Use helpers.Ptr instead.

func Int32 deprecated

func Int32(i int32) *int32

Deprecated: Use helpers.Ptr instead.

func Int64 deprecated

func Int64(i int64) *int64

Deprecated: Use helpers.Ptr instead.

func Int8 deprecated

func Int8(i int8) *int8

Deprecated: Use helpers.Ptr instead.

func Rune deprecated

func Rune(r rune) *rune

Deprecated: Use helpers.Ptr instead.

func String deprecated

func String(s string) *string

Deprecated: Use helpers.Ptr instead.

func Time deprecated

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

Deprecated: Use helpers.Ptr instead.

func Uint deprecated

func Uint(u uint) *uint

Deprecated: Use helpers.Ptr instead.

func Uint16 deprecated

func Uint16(u uint16) *uint16

Deprecated: Use helpers.Ptr instead.

func Uint32 deprecated

func Uint32(u uint32) *uint32

Deprecated: Use helpers.Ptr instead.

func Uint64 deprecated

func Uint64(u uint64) *uint64

Deprecated: Use helpers.Ptr instead.

func Uint8 deprecated

func Uint8(u uint8) *uint8

Deprecated: Use helpers.Ptr instead.

func Uintptr deprecated

func Uintptr(u uintptr) *uintptr

Deprecated: Use helpers.Ptr instead.

func UnBool deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnByte deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnComplex128 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnComplex64 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnDuration deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnFloat32 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnFloat64 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnInt deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnInt16 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnInt32 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnInt64 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnInt8 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnRune deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnString deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.// Deprecated: Use helpers.Val instead.

func UnTime deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUint deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUint16 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUint32 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUint64 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUint8 deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

func UnUintptr deprecated added in v2.7.0

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

Deprecated: Use helpers.Val instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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