pointer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func ByteSlice

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

ByteSlice returns a pointer to the given tags value

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func Int64Slice

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

Int64Slice returns a pointer to the given tags value

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func IntSlice

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

IntSlice returns a pointer to the given tags value

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func StringSlice

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

StringSlice returns a pointer to the given tags value

func Uint

func Uint(i uint) *uint

Uint returns a pointer to the given uint value.

func Uint16

func Uint16(i uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(i uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(i uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uint64Slice

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

Uint64Slice returns a pointer to the given tags value

func Uint8

func Uint8(i uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func UintSlice

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

UintSlice 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