util

package
v0.34.0-crescendo-prev... Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBase64

func FromBase64(bytesStr string) ([]byte, error)

FromBase64 convert input base64 encoded string to decoded bytes

func FromUint64

func FromUint64(number uint64) string

FromUint64 convert uint64 to string

func SelectFilter

func SelectFilter(object interface{}, selectKeys []string) (interface{}, error)

SelectFilter selects the specified keys from the given object. The keys are in the json dot notation and must refer to leaf elements e.g. payload.collection_guarantees.signer_ids

func ToBase64

func ToBase64(byteValue []byte) string

ToBase64 converts byte input to string base64 encoded output

func ToUint64

func ToUint64(uint64Str string) (uint64, error)

ToUint64 convert input string to uint64 number

Types

This section is empty.

Jump to

Keyboard shortcuts

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