Documentation
¶
Index ¶
- func ArrayStringToString(arr []string, delimiter string) string
- func CheckSubnet(ip, subnet string) bool
- func TernaryEqualString(currentValue, expressionValue, defaultVal string) string
- func ToArrayInt32(v interface{}) []int32
- func ToArrayInt64(v interface{}) []int64
- func ToArrayInt8(v interface{}) []int8
- func ToArrayString(v interface{}) []string
- func ToBool(v interface{}) bool
- func ToFloat64(v interface{}) float64
- func ToInt(v interface{}) int
- func ToInt32(v interface{}) int32
- func ToInt64(v interface{}) int64
- func ToInt8(v interface{}) int8
- func ToStr(v interface{}) string
- func ToTime(v interface{}) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayStringToString ¶
ArrayStringToString function used to convert array string to string
func CheckSubnet ¶
func TernaryEqualString ¶
TernaryEqualInt checks if currentValue is equal to expressionValue, if true, return currentValue, else return defaultVal
func ToArrayInt32 ¶
func ToArrayInt32(v interface{}) []int32
ToArrayInt32 converts any value to []int32
func ToArrayInt64 ¶
func ToArrayInt64(v interface{}) []int64
ToArrayInt64 converts any value to []int64
func ToArrayString ¶
func ToArrayString(v interface{}) []string
ToArrayString converts any value to []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.