pointers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 0 Imported by: 12

Documentation

Overview

Package pointers has helpers to return pointers for basic types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

Bool returns a pointer to the bool value provided

func Int

func Int(v int) *int

Int returns a pointer to the int value provided

func Int32

func Int32(v int32) *int32

Int32 returns a pointer to the int32 value provided

func Int64

func Int64(v int64) *int64

Int64 returns a pointer to the int64 value provided

func String

func String(v string) *string

String returns a pointer to the string value provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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