util

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToString added in v1.0.1

func ConvertToString(v any) string

func GenerateEmail

func GenerateEmail() string

func GenerateMobilePhone

func GenerateMobilePhone() string

func GetJsonFieldNameByReflectField added in v1.0.1

func GetJsonFieldNameByReflectField(f reflect.StructField) string

func GetSystemInfo

func GetSystemInfo(skipCaller int) (fileName string, line string, funcName string)

func GetValueByReflectField added in v1.0.1

func GetValueByReflectField(f reflect.Value) any

func IsBlank

func IsBlank(value *string) bool

func IsJson

func IsJson(v []byte) bool

func IsNotBlank

func IsNotBlank(value *string) bool

func ReplaceAllSpacesRepeat

func ReplaceAllSpacesRepeat(v 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