ptr

package
v0.0.0-...-07f0968 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

func BoolOr

func BoolOr(v *bool, or bool) bool

func Float64

func Float64(v float64) *float64

func Float64Or

func Float64Or(v *float64, or float64) float64

func ID

func ID(v core.ID) *core.ID

func IDOr

func IDOr(v *core.ID, or core.ID) core.ID

func Int

func Int(v int) *int

func Int64

func Int64(v int64) *int64

func Int64Or

func Int64Or(v *int64, or int64) int64

func IntOr

func IntOr(v *int, or int) int

func Key

func Key(v core.Key) *core.Key

func KeyOr

func KeyOr(v *core.Key, or core.Key) core.Key

func String

func String(v string) *string

func StringOr

func StringOr(v *string, or string) string

func Time

func Time(v time.Time) *time.Time

func TimeOr

func TimeOr(v *time.Time, or time.Time) time.Time

func Uint

func Uint(v uint) *uint

func Uint64

func Uint64(v uint64) *uint64

func Uint64Or

func Uint64Or(v *uint64, or uint64) uint64

func Uint8

func Uint8(v uint8) *uint8

func Uint8Or

func Uint8Or(v *uint8, or uint8) uint8

func UintOr

func UintOr(v *uint, or uint) uint

Types

This section is empty.

Jump to

Keyboard shortcuts

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