Documentation
¶
Index ¶
- Constants
- Variables
- type DayTime
- func (t *DayTime) InTheNearFuture() time.Time
- func (t *DayTime) InTheRecentPast() time.Time
- func (t *DayTime) MarshalBinary() ([]byte, error)
- func (t *DayTime) MarshalCSV() (string, error)
- func (t *DayTime) MarshalJSON() ([]byte, error)
- func (t *DayTime) MarshalText() ([]byte, error)
- func (t *DayTime) Scan(src any) error
- func (t *DayTime) String() string
- func (t *DayTime) Time() time.Time
- func (t *DayTime) UnmarshalBinary(data []byte) error
- func (t *DayTime) UnmarshalCSV(str string) error
- func (t *DayTime) UnmarshalJSON(data []byte) error
- func (t *DayTime) UnmarshalText(data []byte) error
- func (t *DayTime) Value() (driver.Value, error)
Constants ¶
View Source
const ( Day = 24 * time.Hour DefaultTime = "00:00" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DayTime ¶
type DayTime struct {
// contains filtered or unexported fields
}
func (*DayTime) InTheNearFuture ¶
InTheNearFuture bringing to the current day's time.
func (*DayTime) InTheRecentPast ¶
InTheRecentPast bringing to the near future.
func (*DayTime) MarshalBinary ¶
func (*DayTime) MarshalCSV ¶
func (*DayTime) MarshalJSON ¶
func (*DayTime) MarshalText ¶
func (*DayTime) UnmarshalBinary ¶
func (*DayTime) UnmarshalCSV ¶
func (*DayTime) UnmarshalJSON ¶
func (*DayTime) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.