util

package module
v0.0.0-...-735ef63 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase

func CamelCase(s string) string

CameCase

func Lcfirst

func Lcfirst(str string) string

func Snake

func Snake(s string) string

Snake

func Ucfirst

func Ucfirst(str string) string

func WhoCalling

func WhoCalling() string

获取调用的方法名

func WrapRecover

func WrapRecover(f func() error) error

Types

This section is empty.

Directories

Path Synopsis
rpc
sync
errgroup
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.
Package errgroup provides synchronization, error propagation, and Context errgroup 包为一组子任务的 goroutine 提供了 goroutine 同步,错误取消功能.

Jump to

Keyboard shortcuts

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