Documentation
¶
Index ¶
- func DynamicInvoke(object interface{}, methodName string, args ...interface{}) string
- func FormatMap(field string, maps interface{})
- func GetBetweenDates(sdate, edate string) []string
- func GetCurrentPath() string
- func JsonToMap(jsonStr string) interface{}
- func MapToJson(maps interface{}) string
- func StructToJson(obj interface{}) string
- func StructToMap(obj []interface{}) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DynamicInvoke ¶
动态调用结构体的方法
func GetBetweenDates ¶
GetBetweenDates 根据开始日期和结束日期计算出时间段内所有日期
func GetCurrentPath ¶
func GetCurrentPath() string
func StructToJson ¶
func StructToJson(obj interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.