xpointer

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 0 Imported by: 1

README

xpointer

Dependencies

  • xtesting*

Documents

Types
  • None
Variables
  • None
Constants
  • None
Functions
  • func BoolPtr(v bool) *bool
  • func StringPtr(v string) *string
  • func IntPtr(v int) *int
  • func Int8Ptr(v int8) *int8
  • func Int16Ptr(v int16) *int16
  • func Int32Ptr(v int32) *int32
  • func Int64Ptr(v int64) *int64
  • func UintPtr(v uint) *uint
  • func Uint8Ptr(v uint8) *uint8
  • func Uint16Ptr(v uint16) *uint16
  • func Uint32Ptr(v uint32) *uint32
  • func Uint64Ptr(v uint64) *uint64
  • func Float32Ptr(v float32) *float32
  • func Float64Ptr(v float64) *float64
  • func Complex64Ptr(v complex64) *complex64
  • func Complex128Ptr(v complex128) *complex128
  • func BytePtr(v byte) *byte
  • func RunePtr(v rune) *rune
  • func BoolVal(p *bool, o bool) bool
  • func StringVal(p *string, o string) string
  • func IntVal(p *int, o int) int
  • func Int8Val(p *int8, o int8) int8
  • func Int16Val(p *int16, o int16) int16
  • func Int32Val(p *int32, o int32) int32
  • func Int64Val(p *int64, o int64) int64
  • func UintVal(p *uint, o uint) uint
  • func Uint8Val(p *uint8, o uint8) uint8
  • func Uint16Val(p *uint16, o uint16) uint16
  • func Uint32Val(p *uint32, o uint32) uint32
  • func Uint64Val(p *uint64, o uint64) uint64
  • func Float32Val(p *float32, o float32) float32
  • func Float64Val(p *float64, o float64) float64
  • func Complex64Val(p *complex64, o complex64) complex64
  • func Complex128Val(p *complex128, o complex128) complex128
  • func ByteVal(p *byte, o byte) byte
  • func RuneVal(p *rune, o rune) rune

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(v bool) *bool

BoolPtr returns a pointer pointed to the given bool value.

func BoolVal

func BoolVal(p *bool, o bool) bool

BoolVal returns a bool value from the given pointer, returns the fallback value when nil.

func BytePtr

func BytePtr(v byte) *byte

BytePtr returns a pointer pointed to the given byte value.

func ByteVal

func ByteVal(p *byte, o byte) byte

ByteVal returns a byte value from the given pointer, returns the fallback value when nil.

func Complex128Ptr

func Complex128Ptr(v complex128) *complex128

Complex128Ptr returns a pointer pointed to the given complex128 value.

func Complex128Val

func Complex128Val(p *complex128, o complex128) complex128

Complex128Val returns a complex128 value from the given pointer, returns the fallback value when nil.

func Complex64Ptr

func Complex64Ptr(v complex64) *complex64

Complex64Ptr returns a pointer pointed to the given complex64 value.

func Complex64Val

func Complex64Val(p *complex64, o complex64) complex64

Complex64Val returns a complex64 value from the given pointer, returns the fallback value when nil.

func Float32Ptr

func Float32Ptr(v float32) *float32

Float32Ptr returns a pointer pointed to the given float32 value.

func Float32Val

func Float32Val(p *float32, o float32) float32

Float32Val returns a float32 value from the given pointer, returns the fallback value when nil.

func Float64Ptr

func Float64Ptr(v float64) *float64

Float64Ptr returns a pointer pointed to the given float64 value.

func Float64Val

func Float64Val(p *float64, o float64) float64

Float64Val returns a float64 value from the given pointer, returns the fallback value when nil.

func Int16Ptr

func Int16Ptr(v int16) *int16

Int16Ptr returns a pointer pointed to the given int16 value.

func Int16Val

func Int16Val(p *int16, o int16) int16

Int16Val returns a int16 value from the given pointer, returns the fallback value when nil.

func Int32Ptr

func Int32Ptr(v int32) *int32

Int32Ptr returns a pointer pointed to the given int32 value.

func Int32Val

func Int32Val(p *int32, o int32) int32

Int32Val returns a int32 value from the given pointer, returns the fallback value when nil.

func Int64Ptr

func Int64Ptr(v int64) *int64

Int64Ptr returns a pointer pointed to the given int64 value.

func Int64Val

func Int64Val(p *int64, o int64) int64

Int64Val returns a int64 value from the given pointer, returns the fallback value when nil.

func Int8Ptr

func Int8Ptr(v int8) *int8

Int8Ptr returns a pointer pointed to the given int8 value.

func Int8Val

func Int8Val(p *int8, o int8) int8

Int8Val returns a int8 value from the given pointer, returns the fallback value when nil.

func IntPtr

func IntPtr(v int) *int

IntPtr returns a pointer pointed to the given int value.

func IntVal

func IntVal(p *int, o int) int

IntVal returns a int value from the given pointer, returns the fallback value when nil.

func RunePtr

func RunePtr(v rune) *rune

RunePtr returns a pointer pointed to the given rune value.

func RuneVal

func RuneVal(p *rune, o rune) rune

RuneVal returns a rune value from the given pointer, returns the fallback value when nil.

func StringPtr

func StringPtr(v string) *string

StringPtr returns a pointer pointed to the given string value.

func StringVal

func StringVal(p *string, o string) string

StringVal returns a string value from the given pointer, returns the fallback value when nil.

func Uint16Ptr

func Uint16Ptr(v uint16) *uint16

Uint16Ptr returns a pointer pointed to the given uint16 value.

func Uint16Val

func Uint16Val(p *uint16, o uint16) uint16

Uint16Val returns a uint16 value from the given pointer, returns the fallback value when nil.

func Uint32Ptr

func Uint32Ptr(v uint32) *uint32

Uint32Ptr returns a pointer pointed to the given uint32 value.

func Uint32Val

func Uint32Val(p *uint32, o uint32) uint32

Uint32Val returns a uint32 value from the given pointer, returns the fallback value when nil.

func Uint64Ptr

func Uint64Ptr(v uint64) *uint64

Uint64Ptr returns a pointer pointed to the given uint64 value.

func Uint64Val

func Uint64Val(p *uint64, o uint64) uint64

Uint64Val returns a uint64 value from the given pointer, returns the fallback value when nil.

func Uint8Ptr

func Uint8Ptr(v uint8) *uint8

Uint8Ptr returns a pointer pointed to the given uint8 value.

func Uint8Val

func Uint8Val(p *uint8, o uint8) uint8

Uint8Val returns a uint8 value from the given pointer, returns the fallback value when nil.

func UintPtr

func UintPtr(v uint) *uint

UintPtr returns a pointer pointed to the given uint value.

func UintVal

func UintVal(p *uint, o uint) uint

UintVal returns a uint value from the given pointer, returns the fallback value when nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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