util

package
v1.9.21 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoerceType

func CoerceType(param interface{}) ([]byte, error)

CoerceType will accept a string, []byte, or json.Marshaler type and convert it to a []byte for use and consistency in the SDK

func DeleteEmptyAndTrim

func DeleteEmptyAndTrim(s []string) []string

DeleteEmptyAndTrim removes empty strings from a slice

func SplitComma

func SplitComma(c rune) bool

SplitComma - use custom split func instead of .Split to eliminate empty values (i.e Test,,,)

Types

This section is empty.

Jump to

Keyboard shortcuts

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