utils

package
v0.2.25 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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 Int16Ptr added in v0.2.8

func Int16Ptr(i int16) *int16

Int16Ptr return pointer to int16

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 Int8Ptr added in v0.2.8

func Int8Ptr(i int8) *int8

Int8Ptr return pointer to int8

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

func Uint64Ptr added in v0.2.8

func Uint64Ptr(ui uint64) *uint64

Uint64Ptr return pointer to uint64

func Uint8Ptr added in v0.2.8

func Uint8Ptr(ui uint8) *uint8

Uint8Ptr return pointer to uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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