utils

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayStringPtr added in v0.42.0

func ArrayStringPtr(s []string) *[]string

ArrayStringPtr returns a pointer to the provided array of strings.

func Base64DecodeCertificate added in v0.19.0

func Base64DecodeCertificate(clientCertificate string) (pfx []byte)

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr returns a pointer to the provided boolean variable.

func Float32Ptr added in v0.48.0

func Float32Ptr(f float32) *float32

Float32Ptr returns a pointer to the provided float32 variable.

func Int32Ptr added in v0.18.0

func Int32Ptr(i int32) *int32

Int32Ptr returns a pointer to the provided int32 variable.

func IntPtr added in v0.18.0

func IntPtr(i int) *int

IntPtr returns a pointer to the provided int variable.

func StringPtr

func StringPtr(s string) *string

StringPtr returns a pointer to the provided string variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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