Documentation ¶
Index ¶
- func Curr() *times
- func Err() *err
- func Req() *req
- func Sms() *alisms
- func Str() *strext
- func Url() *urls
- type MyTime
- func (t MyTime) AddDay(day int) MyTime
- func (t MyTime) AddMonth(month uint) MyTime
- func (t MyTime) GetTime() time.Time
- func (t MyTime) Gt(t1 MyTime) bool
- func (t MyTime) GtCurrTime() bool
- func (t MyTime) Lt(t1 MyTime) bool
- func (t MyTime) MarshalJSON() ([]byte, error)
- func (t *MyTime) Scan(v interface{}) error
- func (t *MyTime) String() string
- func (t *MyTime) Time() MyTime
- func (t MyTime) Unix() int64
- func (t *MyTime) UnmarshalJSON(data []byte) (err error)
- func (t MyTime) Value() (driver.Value, error)
- type SendSmsReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MyTime ¶
MyTime 自定义time的json格式
func (MyTime) MarshalJSON ¶
MarshalJSON 自定义time的json格式
func (*MyTime) UnmarshalJSON ¶
UnmarshalJSON 自定义time的json格式
type SendSmsReply ¶
type SendSmsReply struct { Code string `json:"Code,omitempty"` Message string `json:"Message,omitempty"` }
SendSmsReply 发送短信返回
Click to show internal directories.
Click to hide internal directories.