to

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 1 Imported by: 47

README

CircleCI

to

Util for Go primitive type dereferencing.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool added in v0.3.0

func Bool(b *bool) bool

func BoolP added in v0.3.0

func BoolP(b bool) *bool

func Duration

func Duration(d *time.Duration) time.Duration

func DurationP

func DurationP(d time.Duration) *time.Duration

func Float32 added in v0.4.0

func Float32(i *float32) float32

func Float32P added in v0.4.0

func Float32P(i float32) *float32

func Float64 added in v0.4.0

func Float64(i *float64) float64

func Float64P added in v0.4.0

func Float64P(i float64) *float64

func Int

func Int(i *int) int

func Int32 added in v0.4.0

func Int32(i *int32) int32

func Int32P added in v0.4.0

func Int32P(i int32) *int32

func Int64

func Int64(i *int64) int64

func Int64P

func Int64P(i int64) *int64

func IntP

func IntP(i int) *int

func String

func String(s *string) string

func StringP

func StringP(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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