integer

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any2Int

func Any2Int(v interface{}) (int, error)

func Any2Int32

func Any2Int32(v interface{}) (int32, error)

func Any2Int64

func Any2Int64(v interface{}) (int64, error)

func Int2Any

func Int2Any(v interface{}) interface{}

func Int2Str added in v1.3.8

func Int2Str(v int) string

func Int32TAny

func Int32TAny(v interface{}) interface{}

func Int32ToInt

func Int32ToInt(v int32) int

func Int32ToInt64

func Int32ToInt64(v int32) int64

func Int32ToStr added in v1.3.8

func Int32ToStr(v int32) string

func Int64ToAny added in v1.4.3

func Int64ToAny(v interface{}) interface{}

func Int64ToInt

func Int64ToInt(v int64) int

func Int64ToInt32

func Int64ToInt32(v int64) int32

func Int64ToStr added in v1.3.8

func Int64ToStr(v int64) string

func IntToInt32

func IntToInt32(v int) int32

func IntToInt64

func IntToInt64(v int) int64

func MaxInt added in v1.4.1

func MaxInt(vs ...int) int

func MaxInt32 added in v1.4.1

func MaxInt32(vs ...int32) int32

func MaxInt64 added in v1.4.1

func MaxInt64(vs ...int64) int64

func MinInt added in v1.4.1

func MinInt(vs ...int) int

func MinInt32 added in v1.4.1

func MinInt32(vs ...int32) int32

func MinInt64 added in v1.4.1

func MinInt64(vs ...int64) int64

func MustAny2Int

func MustAny2Int(v interface{}) int

func MustAny2Int32

func MustAny2Int32(v interface{}) int32

func MustAny2Int64

func MustAny2Int64(v interface{}) int64

func SliceInt32Equal

func SliceInt32Equal(v1, v2 []int32) bool

func SliceInt32EqualStrict

func SliceInt32EqualStrict(v1, v2 []int32) bool

func SliceInt64Equal

func SliceInt64Equal(v1, v2 []int64) bool

func SliceInt64EqualStrict

func SliceInt64EqualStrict(v1, v2 []int64) bool

func SliceIntEqual

func SliceIntEqual(v1, v2 []int) bool

func SliceIntEqualStrict

func SliceIntEqualStrict(v1, v2 []int) bool

Types

type Int32s added in v1.4.3

type Int32s []int32

func (Int32s) Len added in v1.4.3

func (x Int32s) Len() int

func (Int32s) Less added in v1.4.3

func (x Int32s) Less(i, j int) bool

func (Int32s) Swap added in v1.4.3

func (x Int32s) Swap(i, j int)

type Int64s added in v1.4.3

type Int64s []int64

func (Int64s) Len added in v1.4.3

func (x Int64s) Len() int

func (Int64s) Less added in v1.4.3

func (x Int64s) Less(i, j int) bool

func (Int64s) Swap added in v1.4.3

func (x Int64s) Swap(i, j int)

Jump to

Keyboard shortcuts

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