Documentation
¶
Index ¶
- Variables
- func CopyMap(src, dest map[int64][]int64, gthan0 bool) (res map[int64][]int64)
- func FilterBusinessName(s string) (res string)
- func FilterChname(s string) (res string)
- func FilterName(s string) (res string)
- func ParseWaitTime(ut int64) string
- func Unique(ids []int64, gthan0 bool) (res []int64)
- func WaitTime(ctime time.Time) string
- type BaseOptions
- type FormatTime
- type GrayField
- type Group
- type IntTime
- type Pager
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeFormat = "2006-01-02 15:04:05"
TimeFormat time format
Functions ¶
Types ¶
type BaseOptions ¶
type BaseOptions struct { BusinessID int64 `form:"business_id" json:"business_id"` NetID int64 `form:"net_id" json:"net_id"` FlowID int64 `form:"flow_id" json:"flow_id"` UID int64 `form:"uid" json:"uid" submit:"int"` OID string `form:"oid" json:"oid" submit:"string"` RID int64 `form:"rid" json:"rid"` Role int8 `form:"role" json:"role"` Debug int8 `form:"debug" json:"debug"` Uname string `form:"uname" json:"uname" submit:"string"` }
BaseOptions 公共参数
type Group ¶
type Group struct { ID int64 `json:"group_id"` Name string `json:"group_name"` Note string `json:"group_note"` Tag string `json:"group_tag"` FontColor string `json:"font_color"` BgColor string `json:"bg_color"` }
Group .
type IntTime ¶
type IntTime int64
IntTime .
func (*IntTime) UnmarshalJSON ¶
UnmarshalJSON implement Unmarshaler
Click to show internal directories.
Click to hide internal directories.