convert

package
v0.0.0-...-8725c39 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 4 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInt

func BytesToInt(data []byte) int

BytesToInt 字节转Int

func BytesToInt32

func BytesToInt32(data []byte) int32

BytesToInt32 字节转Int32

func BytesToInt64

func BytesToInt64(data []byte) int64

BytesToInt64 字节转Int64

func ToBool

func ToBool(i interface{}) bool

ToBool 转换成Bool

func ToFloat32

func ToFloat32(value interface{}) float32

ToFloat32 转换成float32

func ToFloat64

func ToFloat64(value interface{}) float64

ToFloat64 转换成float64

func ToInt

func ToInt(value interface{}) int

ToInt 转换成int

func ToInt32

func ToInt32(value interface{}) int32

ToInt32 转换成int32

func ToInt64

func ToInt64(value interface{}) int64

ToInt64 转换成int64

func ToString

func ToString(value interface{}) string

ToString 转换成string

func ToUint

func ToUint(value interface{}) uint

ToUint 转换成uint

func ToUint32

func ToUint32(value interface{}) uint32

ToUint32 转换成uint32

func ToUint64

func ToUint64(value interface{}) uint64

ToUint64 转换成uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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