utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(b bool) *bool

func CopyAnyArray

func CopyAnyArray(slice []any) []any

func CopyAnyP

func CopyAnyP(a *any) *any

func CopyBoolP

func CopyBoolP(b *bool) *bool

func CopyFloat64P

func CopyFloat64P(f *float64) *float64

func CopyIntP

func CopyIntP(i *int) *int

func CopyMapAny

func CopyMapAny(m map[string]any) map[string]any

func CopyMapString

func CopyMapString(m map[string]string) map[string]string

func CopyMapStringArray

func CopyMapStringArray(m map[string][]string) map[string][]string

func CopyStringArray

func CopyStringArray(slice []string) []string

func Int added in v0.1.0

func Int(i int) *int

func Int32

func Int32(i int32) *int

func UInt32

func UInt32(i uint32) *int

Types

This section is empty.

Jump to

Keyboard shortcuts

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