utils

package
v0.0.0-...-d853fe5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallFunc

func CallFunc(skip int) string

CallFunc 获取调用链之上的函数名

func CallStack

func CallStack(skip int) []byte

CallStack returns a nicely formatted stack frame, skipping skip frames.

func Daemon

func Daemon(nochdir, noclose int) error

Daemon 进程改为守护方式执行.

func DeleteSlice

func DeleteSlice[T comparable](a []T, t T) []T

func GetFiledTag

func GetFiledTag(field reflect.StructField, tag string) []string

func GetJsonName

func GetJsonName(field reflect.StructField) string

func GoID

func GoID() int

func HasJsonName

func HasJsonName(field reflect.StructField) bool

func IsEmptyValue

func IsEmptyValue(v reflect.Value) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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