Help us shape the future of Go! Take the 2026 Go Developer Survey

to

package module
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 49

README

This library is deprecated. Please use idiomatic Go instead.

Documentation

Overview

Package go provides functions to return the value of a pointer.

Deprecated: Use idiomatic Go instead

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool deprecated added in v0.3.0

func Bool(b *bool) bool

Deprecated: Use idiomatic Go instead

func BoolP deprecated added in v0.3.0

func BoolP(b bool) *bool

Deprecated: Use idiomatic Go instead

func Duration deprecated

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

Deprecated: Use idiomatic Go instead

func DurationP deprecated

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

Deprecated: Use idiomatic Go instead

func Float32 deprecated added in v0.4.0

func Float32(i *float32) float32

Deprecated: Use idiomatic Go instead

func Float32P deprecated added in v0.4.0

func Float32P(i float32) *float32

Deprecated: Use idiomatic Go instead

func Float64 deprecated added in v0.4.0

func Float64(i *float64) float64

Deprecated: Use idiomatic Go instead

func Float64P deprecated added in v0.4.0

func Float64P(i float64) *float64

Deprecated: Use idiomatic Go instead

func Int deprecated

func Int(i *int) int

Deprecated: Use idiomatic Go instead

func Int32 deprecated added in v0.4.0

func Int32(i *int32) int32

Deprecated: Use idiomatic Go instead

func Int32P deprecated added in v0.4.0

func Int32P(i int32) *int32

Deprecated: Use idiomatic Go instead

func Int64 deprecated

func Int64(i *int64) int64

Deprecated: Use idiomatic Go instead

func Int64P deprecated

func Int64P(i int64) *int64

Deprecated: Use idiomatic Go instead

func IntP deprecated

func IntP(i int) *int

Deprecated: Use idiomatic Go instead

func String deprecated

func String(s *string) string

Deprecated: Use idiomatic Go instead

func StringP deprecated

func StringP(s string) *string

Deprecated: Use idiomatic Go instead

Types

This section is empty.

Jump to

Keyboard shortcuts

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