Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Holiday ¶
type Holiday struct { ID int `json:"id"` Name string `gorm:"not null;type:varchar(100)" json:"name"` Date time.Time `gorm:"not null;unique_index;type:date" json:"date"` Type int `gorm:"not null" json:"type"` DayOfWeek int `gorm:"not null" json:"day_of_week"` }
func (Holiday) StringDate ¶
Click to show internal directories.
Click to hide internal directories.