number

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64(in float64) *float64

取对应类型的指针

func Int

func Int(in int) *int

取对应类型的指针

func Int32

func Int32(in int32) *int32

取对应类型的指针

func Int64

func Int64(in int64) *int64

取对应类型的指针

func ParseFloat64

func ParseFloat64(in string) float64

解析string类型,输出相应数字类型指针

func ParseInt32

func ParseInt32(in string) int32

解析string类型,输出相应数字类型指针

func ParseInt64

func ParseInt64(in string) int64

解析string类型,输出相应数字类型指针

func ParseUint32

func ParseUint32(in string) uint32

解析string类型,输出相应数字类型指针

func ParseUint64

func ParseUint64(in string) uint64

解析string类型,输出相应数字类型指针

func String

func String(in string) *string

取对应类型的指针

func ToString

func ToString(in interface{}) string

输出相应相应的string

func Uint32

func Uint32(in uint32) *uint32

取对应类型的指针

func Uint64

func Uint64(in uint64) *uint64

取对应类型的指针

Types

This section is empty.

Jump to

Keyboard shortcuts

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