jxutils

package module
v0.0.0-...-e353395 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalProcessID string

Functions

func ErrorCheckOfRecover

func ErrorCheckOfRecover(n interface{}, log *logrus.Logger)

func GetFunctionName

func GetFunctionName(i interface{}, seps ...rune) string

GetFunctionName 自定义Panic异常处理,调用方式: 例如Test()函数, 指定defer ErrorCheckOfRecover(Test)

func GetProgramHome

func GetProgramHome() (h string, err error)

func JsonStr2Bson

func JsonStr2Bson(str string) (interface{}, error)

func ToHash

func ToHash(data string) uint32

func ToWeek

func ToWeek(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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