convert

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfToInt added in v0.1.2

func InfToInt(inter interface{}) (i int)

InfToInt ...

func Int64ArrayContains added in v0.2.1

func Int64ArrayContains(addrs []int64, i int64) bool

Int64ArrayContains 数组是否包含某字符串

func Int642Str

func Int642Str(i int64) string

Int642Str int64 to string

func RemoveDuplicateElement added in v0.2.1

func RemoveDuplicateElement(addrs []string) []string

RemoveDuplicateElement 去重

func RemoveDuplicateElementInt64 added in v0.2.1

func RemoveDuplicateElementInt64(addrs []int64) []int64

RemoveDuplicateElementInt64 去重

func Str2Byte

func Str2Byte(s string) []byte

Str2Byte string to byte

func Str2Float64

func Str2Float64(s string) float64

Str2Float64 string to float64

func Str2Int

func Str2Int(s string) int

Str2Int string to int

func Str2Int32

func Str2Int32(s string) int32

Str2Int32 string to int32

func Str2Int64

func Str2Int64(s string) int64

Str2Int64 string to int64

func StringArrayContains added in v0.1.4

func StringArrayContains(arr []string, str string) bool

StringArrayContains 字符串数组是否包含某字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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