pointer

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(val bool) *bool

func Float32

func Float32(val float32) *float32

func Float64

func Float64(val float64) *float64

func IndirectSafe

func IndirectSafe(obj interface{}) interface{}

IndirectSafe dereferences if obj is a pointer, otherwise no-op

func Int

func Int(val int) *int

func Int16

func Int16(val int16) *int16

func Int32

func Int32(val int32) *int32

func Int64

func Int64(val int64) *int64

func Int8

func Int8(val int8) *int8

func String

func String(val string) *string

func Time

func Time(val time.Time) *time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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