some

package
v8.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

Package some provides helpers to allow users to user inline pointers on primitive types for the TypedAPI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(value bool) *bool

Bool returns a pointer to a boolean

func Byte

func Byte(value byte) *byte

Byte returns a pointer to a byte

func Complex128

func Complex128(value complex128) *complex128

Complex128 returns a pointer to a complex128

func Complex64

func Complex64(value complex64) *complex64

Complex64 returns a pointer to a complex64

func Float32

func Float32(value float32) *float32

Float32 returns a pointer to a float32

func Float64

func Float64(value float64) *types.Float64

Float64 returns a pointer to a float64

func Int

func Int(value int) *int

Int returns a pointer to an integer

func Int16

func Int16(value int16) *int16

Int16 returns a pointer to an int16

func Int32

func Int32(value int32) *int32

Int32 returns a pointer to an int32

func Int64

func Int64(value int64) *int64

Int64 returns a pointer to an int64

func Int8

func Int8(value int8) *int8

Int8 returns a pointer to an int8

func Rune

func Rune(value rune) *rune

Rune returns a pointer to a rune

func String

func String(value string) *string

String returns a pointer to a string

func Uint

func Uint(value uint) *uint

Uint returns a pointer to a uint

func Uint16

func Uint16(value uint16) *uint16

Uint16 returns a pointer to a uint16

func Uint32

func Uint32(value uint32) *uint32

Uint32 returns a pointer to a uint32

func Uint64

func Uint64(value uint64) *uint64

Uint64 returns a pointer to a uint64

func Uint8

func Uint8(value uint8) *uint8

Uint8 returns a pointer to a uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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