convert

package
v0.0.0-...-326671c Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

unsafe

func ConvertInterfaceArrayToFloat64Array

func ConvertInterfaceArrayToFloat64Array(array []interface{}) ([]float64, error)

ConvertInterfaceArrayToFloat64Array ...

func ConvertInterfaceArrayToInt64Array

func ConvertInterfaceArrayToInt64Array(array []interface{}) ([]int64, error)

ConvertInterfaceArrayToInt64Array ...

func ConvertInterfaceArrayToStringArray

func ConvertInterfaceArrayToStringArray(array []interface{}) ([]string, error)

ConvertInterfaceArrayToStringArray ...

func ConvertStringArrayToInt64Array

func ConvertStringArrayToInt64Array(array []string) (res []int64, err error)

ConvertStringArrayToInt64Array ...

func Decimal

func Decimal(value float64) float64

Decimal ...

func DecimalToZero

func DecimalToZero(value float64) float64

DecimalToZero ...

func StringToBytes

func StringToBytes(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