pointers

package
v0.3.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

Bool returns the pointer of bool.

func Float64

func Float64(v float64) *float64

Float64 returns the pointer of float64.

func Long

func Long(v int) *int64

Long returns converts int to int64 and returns the pointer of int64.

func Long64

func Long64(v int64) *int64

Long64 returns the pointer of int64.

func SliceFloat64

func SliceFloat64(list []float64) []*float64

SliceFloat64 returns the slice of float64 pointer.

func SliceString

func SliceString(list []string) []*string

SliceString returns the slice of string pointer.

func String

func String(v string) *string

String returns the pointer of string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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