ptr

package
v0.0.0-...-7bca2f4 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) (p *bool)

Bool returns a pointer to the specified bool value.

func Float

func Float(f float64) (p *float64)

Float returns a pointer to the specified float value.

func Int

func Int(i int) (p *int)

Int returns a pointer to the specified int value.

func Int64

func Int64(i int64) (p *int64)

Int64 returns a pointer to the specified int value.

func String

func String(s string) (p *string)

String returns a pointer to the specified string value.

func Time

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

Time returns a pointer to the specified time.Time value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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