Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { ID string `gorm:"type:uuid; primary_key;" json:"id" validate:"-"` Title string `json:"title" validate:"required,min=5,max=200,alphanum"` Description string `json:"description" validate:"omitempty,max=200,alphanum"` ImageURL string `json:"image_url" validate:"omitempty,url"` EventStart time.Time `json:"event_start" validate:"required"` WithStartTime bool `json:"with_starttime" validate:"-"` Platform string `json:"platform" validate:"omitempty,max=40,alphanum"` URL string `json:"url" validate:"omitempty,url"` Category string `json:"category" validate:"omitempty,max=40,alphanum"` CreatedAt time.Time `json:"created_at" validate:"-"` UpdatedAt time.Time `json:"updated_at" validate:"-"` DeletedAt *time.Time `sql:"index" json:"deleted_at,omitempty" validate:"-"` }
Event Model
Click to show internal directories.
Click to hide internal directories.