Documentation ¶
Index ¶
- type JTime
- func (t *JTime) GobDecode(b []byte) error
- func (t JTime) GobEncode() ([]byte, error)
- func (t JTime) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (t JTime) MarshalJSON() ([]byte, error)
- func (t *JTime) Scan(value interface{}) (err error)
- func (t JTime) String() string
- func (t JTime) ToTime() time.Time
- func (t *JTime) UnmarshalJSON(data []byte) (err error)
- func (t JTime) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JTime ¶
func (JTime) GormDBDataType ¶
GormDataType gorm common data type
func (t JTime) GormDataType() string { return "timestamptz" }
func (JTime) MarshalJSON ¶
func (*JTime) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.