Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommunityEvent ¶
type CommunityEvent struct { ID uint64 `json:"id" gorm:"primary_key"` Userid uint64 `json:"userid"` Title string `json:"title"` Location string `json:"location"` Contactname string `json:"contactname"` Contactphone string `json:"contactphone"` Contactemail string `json:"contactemail"` Contacturl string `json:"contacturl"` Description string `json:"description"` Timecommitment string `json:"timecommitment"` Added time.Time `json:"added"` Groups []uint64 `json:"groups" gorm:"-"` Image *CommunityEventImage `json:"image" gorm:"-"` Dates []CommunityEventDate `json:"dates" gorm:"-"` }
func (CommunityEvent) TableName ¶
func (CommunityEvent) TableName() string
type CommunityEventDate ¶
type CommunityEventDate struct { ID uint64 `json:"id" gorm:"primary_key"` Start time.Time `json:"start"` End time.Time `json:"end"` }
func (CommunityEventDate) TableName ¶
func (CommunityEventDate) TableName() string
type CommunityEventImage ¶
type CommunityEventImage struct { ID uint64 `json:"id" gorm:"primary_key"` Archived int `json:"-"` Volunteeringid uint64 `json:"-"` Path string `json:"path"` Paththumb string `json:"paththumb"` }
func (CommunityEventImage) TableName ¶
func (CommunityEventImage) TableName() string
Click to show internal directories.
Click to hide internal directories.