Documentation
¶
Index ¶
- func IsArrayContain[T comparable](value T, array []T) bool
- func IsBlank(value string) bool
- func IsBlankArr(values []string) bool
- func IsBlankMap(maps map[string]interface{}) bool
- func IsBlankTime(t *time.Time) bool
- func IsConfSuffix(suffix string) bool
- func IsFloat(value any) bool
- func IsInLoweChar(word string) bool
- func IsInUpChar(word string) bool
- func IsNotBlank(value string) bool
- func IsNotBlankArr(values []string) bool
- func IsNumber(value any) bool
- func StringToBytes(s string) []byte
- func ToString(i interface{}) (str string)
- func XssEscape(values string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsArrayContain ¶
func IsArrayContain[T comparable](value T, array []T) bool
IsArrayContain -数组是否包含该值
func IsBlankArr ¶
func IsBlankMap ¶
func IsBlankTime ¶
func IsConfSuffix ¶
func IsInLoweChar ¶
func IsNotBlank ¶
func IsNotBlankArr ¶
func StringToBytes ¶
StringToBytes converts string to byte slice without a memory allocation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.