interconv

package
v0.0.0-...-d7c7292 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBoolean

func ParseBoolean(val interface{}) (bool, error)

ParseBoolean function to convert other type data to boolean

func ParseFloat32

func ParseFloat32(val interface{}) (float32, error)

ParseFloat32 function to convert other type data to float32

func ParseFloat64

func ParseFloat64(val interface{}) (float64, error)

ParseFloat64 function to convert other type data to float64

func ParseInt

func ParseInt(val interface{}) (int, error)

ParseInt function to convert other type data to int

func ParseInt16

func ParseInt16(val interface{}) (int16, error)

ParseInt16 function converts data of any type to int16

func ParseInt32

func ParseInt32(val interface{}) (int32, error)

ParseInt32 function to convert other type data to int

func ParseInt64

func ParseInt64(val interface{}) (int64, error)

ParseInt64 function to convert other type data to int64

func ParseInt8

func ParseInt8(val interface{}) (int8, error)

ParseInt8 function converts data of any type to int8

func ParseString

func ParseString(value interface{}) (string, error)

ParseString function to convert other type data to string

func ParseUint

func ParseUint(val interface{}) (uint, error)

ParseUint function to convert interface to uint

func ParseUint16

func ParseUint16(val interface{}) (uint16, error)

ParseUint16 function to convert interface data to uint16

func ParseUint32

func ParseUint32(val interface{}) (uint32, error)

ParseUint32 function to convert interface data to uint32

func ParseUint64

func ParseUint64(val interface{}) (uint64, error)

ParseUint64 function to convert interface data to uint64

func ParseUint8

func ParseUint8(val interface{}) (uint8, error)

ParseUint8 function to convert interface data to uint8

func ParseUintptr

func ParseUintptr(val interface{}) (uintptr, error)

ParseUintptr function to convert interface data to uintptr

Types

This section is empty.

Jump to

Keyboard shortcuts

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