ezConvert

package
v0.0.0-...-77ac295 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInt

func BytesToInt(bys []byte) int

func BytesToInt32

func BytesToInt32(bys []byte, length int) int32

func BytesToInt64

func BytesToInt64(bys []byte) int64

func IntSliceToString

func IntSliceToString(src []int, sep string) string

func IntToBitBytes

func IntToBitBytes(n int, length int) []byte

func MacSplitWithColon

func MacSplitWithColon(src string) string

func MacSplitWithDash

func MacSplitWithDash(src string) string

func SliceToString

func SliceToString(src []interface{}, sep string) string

func ToFloat64

func ToFloat64(src interface{}) float64

ToFloat64 转float64

func ToInt

func ToInt(src interface{}) int

ToInt 转int

func ToInt64

func ToInt64(src interface{}) int64

ToInt64 转int64

func ToString

func ToString(src interface{}) string

ToString 转字符

Types

This section is empty.

Jump to

Keyboard shortcuts

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