utils

package
v0.0.0-...-5ba78f1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenRawUuid

func GenRawUuid() string

return uuid without "-"

func GenUuidFromName

func GenUuidFromName(name string) string

func SafeGroutine

func SafeGroutine(fn func(options ...interface{}))

func WrapRecover

func WrapRecover()

WrapRecover goroutine里的panic都最好被处理掉,否则会造成整个程序的崩溃.

Types

This section is empty.

Jump to

Keyboard shortcuts

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