Documentation ¶
Index ¶
- func CheckFileExist(fileName string) bool
- func CheckIPType(ip string) int
- func GoContainStrArr(element string, arrs []string, caseSensitive bool) bool
- func GoInInt32Arr(element int32, arrs []int32) bool
- func GoInInt64Arr(element int64, arrs []int64) bool
- func GoInIntArr(element int, arrs []int) bool
- func IsNumeric(str string) bool
- func IsPathExist(path string) bool
- func IsStartWithAli(str string) bool
- func IsStartWithQQ(str string) bool
- func IsStartWithWx(str string) bool
- func IsStructFieldExist(structObject interface{}, FieldName string) bool
- func IsStructMethodExist(structObject interface{}, MethodName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExist ¶
func GoContainStrArr ¶
GoContainStrArr — Checks if a value exists in an array
func GoInInt32Arr ¶
func GoInInt64Arr ¶
func GoInIntArr ¶
func IsPathExist ¶
func IsStartWithAli ¶
func IsStartWithQQ ¶
func IsStartWithWx ¶
func IsStructFieldExist ¶
Reflect if an interface is either a struct or a pointer to a struct and has the defined member field, if error is nil, the given FieldName exists and is accessible with reflect.
func IsStructMethodExist ¶
Reflect if an interface is either a struct or a pointer to a struct and has the defined member method. If error is nil, it means the MethodName is accessible with reflect.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.