ptype

package
v0.0.0-...-6d11654 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolP

func BoolP(b bool) *bool

BoolP converts bool to bool pointer

func Float32P

func Float32P(f float32) *float32

Float32P converts a float to an float pointer

func Float64P

func Float64P(f float64) *float64

Float64P converts a float to an float pointer

func FloatToString

func FloatToString(num float64) string

FloatToString Converts float to a string

func IntP

func IntP(i int) *int

IntP converts an int to int pointer

func PBool

func PBool(b *bool) bool

PBool ...

func PFloat32

func PFloat32(num *float32) float32

PFloat32 converts a float32 pointer to float32

func PFloat64

func PFloat64(num *float64) float64

PFloat64 converts a float64 pointer to float64

func PInt

func PInt(i *int) int

PInt converts a pointer int to int

func PString

func PString(str *string) string

PString converts a string pointer to a string

func PTime

func PTime(t time.Time) *time.Time

PTime ...

func StringP

func StringP(str string) *string

StringP converts a string to a string pointer

func TimeP

func TimeP(t *time.Time) time.Time

TimeP ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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