Documentation ¶
Index ¶
- type CustomTime
- func (ct CustomTime) MarshalJSON() ([]byte, error)
- func (ct CustomTime) MarshalText() ([]byte, error)
- func (ct *CustomTime) Scan(v interface{}) error
- func (ct *CustomTime) SetFormat(format string)
- func (ct *CustomTime) String() string
- func (ct *CustomTime) UnmarshalJSON(data []byte) error
- func (ct *CustomTime) UnmarshalText(data []byte) error
- func (ct CustomTime) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomTime ¶
func NewNow ¶
func NewNow() *CustomTime
func NewNowWithFormat ¶
func NewNowWithFormat(format string) *CustomTime
func Now ¶
func Now() CustomTime
func NowWithFormat ¶
func NowWithFormat(format string) CustomTime
func (CustomTime) MarshalJSON ¶
func (ct CustomTime) MarshalJSON() ([]byte, error)
func (CustomTime) MarshalText ¶
func (ct CustomTime) MarshalText() ([]byte, error)
func (*CustomTime) Scan ¶
func (ct *CustomTime) Scan(v interface{}) error
func (*CustomTime) SetFormat ¶
func (ct *CustomTime) SetFormat(format string)
func (*CustomTime) String ¶
func (ct *CustomTime) String() string
func (*CustomTime) UnmarshalJSON ¶
func (ct *CustomTime) UnmarshalJSON(data []byte) error
func (*CustomTime) UnmarshalText ¶
func (ct *CustomTime) UnmarshalText(data []byte) error
Click to show internal directories.
Click to hide internal directories.