helper

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func In32

func In32(a []int32, i int32) bool

In32 检查数字是否在, a数组中

func In64

func In64(a []int64, i int64) bool

func Int32ToInt64

func Int32ToInt64(a []int32) []int64

func MaxInt32

func MaxInt32(i, j int32) int32

func PainErr

func PainErr(err error)

func PainErrExit

func PainErrExit(err error)

func RecoverStack

func RecoverStack(extras ...interface{})

RecoverStack 产生panic时的调用栈打印

func RecoverStackPanic

func RecoverStackPanic(extras ...interface{})

func Round

func Round(f float64, prec int) float64

四舍五入

Types

This section is empty.

Jump to

Keyboard shortcuts

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