convert

package
v0.0.0-...-57ed434 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectToMap

func ObjectToMap(obj interface{}) map[string]interface{}

func ToInt64Slice

func ToInt64Slice(i interface{}) []int64

ToIntSlice casts an interface to a []int type.

func ToInt64SliceE

func ToInt64SliceE(i interface{}) ([]int64, error)

ToIntSliceE casts an interface to a []int type.

func UnsafeBytesToString

func UnsafeBytesToString(b []byte) string

unsafe

func UnsafeStringToBytes

func UnsafeStringToBytes(s string) []byte

unsafe

Types

This section is empty.

Jump to

Keyboard shortcuts

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