utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 0 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

BoolPtr return pointer to boolean

func Int32Ptr

func Int32Ptr(i int32) *int32

Int32Ptr return pointer to int32

func Int64Ptr

func Int64Ptr(i int64) *int64

Int64Ptr return pointer to int64

func IntPtr

func IntPtr(i int) *int

IntPtr return pointer to int

func RemoveString

func RemoveString(slice []string, s string) (result []string)

func StringPtr

func StringPtr(s string) *string

StringPtr return pointer to boolean

func Uint16Ptr added in v0.1.7

func Uint16Ptr(ui uint16) *uint16

Uint16Ptr return pointer to uint16

func Uint32Ptr

func Uint32Ptr(ui uint32) *uint32

Uint32Ptr return pointer to uint32

Types

This section is empty.

Jump to

Keyboard shortcuts

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