Documentation ¶
Index ¶
- func GetBetweenByTime(fieldsName string, args FieldsCoreTime, maps map[string]interface{}) (query string, newMaps map[string]interface{})
- func GetBetweenByTimeAnd(fieldsName string, args FieldsCoreTime, query string, ...) (newQuery string, newMaps map[string]interface{})
- type DataCoreTime
- type FieldsCoreTime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBetweenByTime ¶
func GetBetweenByTime(fieldsName string, args FieldsCoreTime, maps map[string]interface{}) (query string, newMaps map[string]interface{})
GetBetweenByTime 获取时间范围的mgo Deprecated
func GetBetweenByTimeAnd ¶
func GetBetweenByTimeAnd(fieldsName string, args FieldsCoreTime, query string, maps map[string]interface{}) (newQuery string, newMaps map[string]interface{})
GetBetweenByTimeAnd 带有query处理的方法 Deprecated
Types ¶
type DataCoreTime ¶
type DataCoreTime struct { //最小时间 // ISO时间 MinTime string `json:"minTime" check:"isoTime"` //最大时间 // ISO时间 MaxTime string `json:"maxTime" check:"isoTime"` }
DataCoreTime 外部参数类型 Deprecated
type FieldsCoreTime ¶
type FieldsCoreTime struct { //最小时间 MinTime time.Time `json:"minTime"` //最大时间 MaxTime time.Time `json:"maxTime"` }
FieldsCoreTime 时间周期选择器和处理器 Deprecated
func GetBetweenByISO ¶
func GetBetweenByISO(args DataCoreTime) (data FieldsCoreTime, err error)
GetBetweenByISO 将ISO时间转为标准时间 Deprecated
Click to show internal directories.
Click to hide internal directories.