pointer

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 0 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBool

func NewBool(b bool) *bool

NewBool returns a pointer to the given bool value.

func NewByte

func NewByte(b byte) *byte

NewByte returns a pointer to the given byte value.

func NewByteSlice

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

NewByteSlice returns a pointer to the given tags value

func NewFloat32

func NewFloat32(f float32) *float32

NewFloat32 returns a pointer to the given float32 value.

func NewFloat64

func NewFloat64(f float64) *float64

NewFloat64 returns a pointer to the given float64 value.

func NewInt

func NewInt(i int) *int

NewInt returns a pointer to the given int value.

func NewInt16

func NewInt16(i int16) *int16

NewInt16 returns a pointer to the given int16 value.

func NewInt32

func NewInt32(i int32) *int32

NewInt32 returns a pointer to the given int32 value.

func NewInt64

func NewInt64(i int64) *int64

NewInt64 returns a pointer to the given int64 value.

func NewInt64Slice

func NewInt64Slice(v []int64) *[]int64

NewInt64Slice returns a pointer to the given tags value

func NewInt8

func NewInt8(i int8) *int8

NewInt8 returns a pointer to the given int8 value.

func NewIntSlice

func NewIntSlice(v []int) *[]int

NewIntSlice returns a pointer to the given tags value

func NewRune

func NewRune(r rune) *rune

NewRune returns a pointer to the given rune value.

func NewString

func NewString(s string) *string

NewString returns a pointer to the given string value.

func NewStringSlice

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

NewStringSlice returns a pointer to the given tags value

func NewUint

func NewUint(i uint) *uint

NewUint returns a pointer to the given uint value.

func NewUint16

func NewUint16(i uint16) *uint16

NewUint16 returns a pointer to the given uint16 value.

func NewUint32

func NewUint32(i uint32) *uint32

NewUint32 returns a pointer to the given uint32 value.

func NewUint64

func NewUint64(i uint64) *uint64

NewUint64 returns a pointer to the given uint64 value.

func NewUint64Slice

func NewUint64Slice(v []uint64) *[]uint64

NewUint64Slice returns a pointer to the given tags value

func NewUint8

func NewUint8(i uint8) *uint8

NewUint8 returns a pointer to the given uint8 value.

func NewUintSlice

func NewUintSlice(v []uint) *[]uint

NewUintSlice returns a pointer to the given tags value

Types

This section is empty.

Jump to

Keyboard shortcuts

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