jxutils

package module
v0.0.0-...-822bea0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 10 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

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

func GetProgramHome

func GetProgramHome() (h string, err error)

func JsonStr2Bson

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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