format

package
v0.0.0-...-b7647e0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 63

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToString

func BoolToString(v bool) string

BoolToString bool -> str

func BoolToStringBytes

func BoolToStringBytes(v bool) []byte

BoolToStringBytes bool -> str

func BytesToUint16

func BytesToUint16(b []byte) (uint16, error)

BytesToUint16 bytes -> uint16

func BytesToUint32

func BytesToUint32(b []byte) (uint32, error)

BytesToUint32 bytes -> uint32

func BytesToUint64

func BytesToUint64(b []byte) (uint64, error)

BytesToUint64 bytes -> uint64

func Float64ToString

func Float64ToString(v float64) string

Float64ToString float64 to str

func Float64ToStringBytes

func Float64ToStringBytes(v float64) []byte

Float64ToStringBytes float64 to str

func Int64ToString

func Int64ToString(v int64) string

Int64ToString int64 to str

func Int64ToStringBytes

func Int64ToStringBytes(v int64) []byte

Int64ToStringBytes int64 to str

func MustBytesToUint16

func MustBytesToUint16(b []byte) uint16

MustBytesToUint16 bytes -> uint16

func MustBytesToUint32

func MustBytesToUint32(b []byte) uint32

MustBytesToUint32 bytes -> uint16

func MustBytesToUint64

func MustBytesToUint64(b []byte) uint64

MustBytesToUint64 bytes -> uint16

func MustParseStringFloat64

func MustParseStringFloat64(data string) float64

MustParseStringFloat64 str -> float64

func MustParseStringInt

func MustParseStringInt(data string) int

MustParseStringInt str -> int

func MustParseStringInt64

func MustParseStringInt64(data string) int64

MustParseStringInt64 str -> int64

func MustParseStringUint32

func MustParseStringUint32(data string) uint32

MustParseStringUint32 str -> uint32

func MustParseStringUint64

func MustParseStringUint64(data string) uint64

MustParseStringUint64 str -> uint64

func ParseStringBool

func ParseStringBool(data string) (bool, error)

ParseStringBool parse string -> bool

func ParseStringFloat64

func ParseStringFloat64(data string) (float64, error)

ParseStringFloat64 str -> float64

func ParseStringFloat64Bytes

func ParseStringFloat64Bytes(data []byte) (float64, error)

ParseStringFloat64Bytes str -> float64

func ParseStringInt

func ParseStringInt(data string) (int, error)

ParseStringInt str -> int

func ParseStringInt64

func ParseStringInt64(data string) (int64, error)

ParseStringInt64 str -> int64

func ParseStringInt64Bytes

func ParseStringInt64Bytes(data []byte) (int64, error)

ParseStringInt64Bytes str -> int

func ParseStringInt64Slice

func ParseStringInt64Slice(data []string) ([]int64, error)

ParseStringInt64Slice parse []string -> []int64

func ParseStringIntBytes

func ParseStringIntBytes(data []byte) (int, error)

ParseStringIntBytes str -> int

func ParseStringIntSlice

func ParseStringIntSlice(data []string) ([]int, error)

ParseStringIntSlice parse []string -> []int

func ParseStringUint32

func ParseStringUint32(data string) (uint32, error)

ParseStringUint32 str -> uint32

func ParseStringUint32Bytes

func ParseStringUint32Bytes(data []byte) (uint32, error)

ParseStringUint32Bytes str -> uint64

func ParseStringUint64

func ParseStringUint64(data string) (uint64, error)

ParseStringUint64 str -> uint64

func ParseStringUint64Bytes

func ParseStringUint64Bytes(data []byte) (uint64, error)

ParseStringUint64Bytes str -> uint64

func ParseStringUint64Slice

func ParseStringUint64Slice(data []string) ([]uint64, error)

ParseStringUint64Slice parse []string -> []uint64

func Uint16ToBytes

func Uint16ToBytes(v uint16) []byte

Uint16ToBytes uint16 -> bytes

func Uint32ToBytes

func Uint32ToBytes(v uint32) []byte

Uint32ToBytes uint32 -> bytes

func Uint32ToString

func Uint32ToString(v uint32) string

Uint32ToString uint32 to str

func Uint32ToStringBytes

func Uint32ToStringBytes(v uint32) []byte

Uint32ToStringBytes uint32 to str

func Uint64ToBytes

func Uint64ToBytes(v uint64) []byte

Uint64ToBytes uint64 -> bytes

func Uint64ToString

func Uint64ToString(v uint64) string

Uint64ToString uint64 to str

func Uint64ToStringBytes

func Uint64ToStringBytes(v uint64) []byte

Uint64ToStringBytes uint64 to str

Types

This section is empty.

Jump to

Keyboard shortcuts

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