Documentation ¶
Index ¶
- Variables
- func ConvertKVStringSliceToMap(values []string) map[string]string
- func ConvertMapToKVStringSlice(values map[string]string) []string
- func ConvertMapValueToBool(m map[string]interface{}, key string) (bool, error)
- func ConvertMapValueToFloat64(m map[string]interface{}, key string) (float64, error)
- func ConvertMapValueToFloat64Slice(m map[string]interface{}, key string) ([]float64, error)
- func ConvertMapValueToInt(m map[string]interface{}, key string) (int, error)
- func ConvertMapValueToInt64(m map[string]interface{}, key string) (int64, error)
- func ConvertMapValueToInt64Slice(m map[string]interface{}, key string) ([]int64, error)
- func ConvertMapValueToIntSlice(m map[string]interface{}, key string) ([]int, error)
- func ConvertMapValueToJSONObject(m map[string]interface{}, key string, v interface{}) error
- func ConvertMapValueToObjectSlice(m map[string]interface{}, key string) ([]interface{}, error)
- func ConvertMapValueToString(m map[string]interface{}, key string) (string, error)
- func ConvertMapValueToStringSlice(m map[string]interface{}, key string) ([]string, error)
- func ConvertMapValueToTime(m map[string]interface{}, key string) (time.Time, error)
- func ConvertToString(v interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ERR_CONVERT_INVALID = errors.New("value convert invalid.")
)
Functions ¶
func ConvertMapValueToBool ¶
func ConvertMapValueToInt ¶
func ConvertMapValueToInt64 ¶
func ConvertMapValueToString ¶
func ConvertMapValueToTime ¶
func ConvertToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.