Documentation
¶
Index ¶
- Constants
- type ExtraMap
- type Profile
- type Time
- func (t Time) AtTime(timeStr string) time.Time
- func (t *Time) Format(layout string) string
- func (t Time) IsZero() bool
- func (t Time) MarshalJSON() ([]byte, error)
- func (t *Time) Scan(v interface{}) error
- func (t Time) String() string
- func (t *Time) UnmarshalJSON(data []byte) (err error)
- func (t Time) Value() (driver.Value, error)
Constants ¶
View Source
const (
TimeFormart = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
Time is alias type for time.Time
func ParseTimeStr ¶
func (Time) MarshalJSON ¶
MarshalJSON implements json marshal interface.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements json unmarshal interface.
Click to show internal directories.
Click to hide internal directories.