converters

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: MIT Imports: 1 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysValuesStringsToMap added in v0.1.6

func KeysValuesStringsToMap(keys, values *[]string) *map[string]string

KeysValuesStringsToMap keys nil will return empty map[string]string

func PointerStringsToStrings

func PointerStringsToStrings(pointerStringOfArray *[]*string) *[]string

PointerStringsToStrings will give empty or converted results array (not nil)

func StringsPointersToStringBoolMap

func StringsPointersToStringBoolMap(inputArray *[]*string) *map[string]bool

func StringsToMap

func StringsToMap(inputArray *[]string) *map[string]bool

func StringsToPointerStrings

func StringsToPointerStrings(ptrStrArray *[]string) *[]*string

StringsToPointerStrings will give empty or converted results array (not nil)

func UnsafeBytesToStrings

func UnsafeBytesToStrings(unsafeBytes *[]byte) *[]string

Returns string arrays from unsafe bytes pointer

May panic on conversion if the bytes were not in unsafe pointer.

Expressions: - return (*[] string)(unsafe.Pointer(allBytes))

Types

This section is empty.

Jump to

Keyboard shortcuts

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