Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attendee ¶
type Attendee struct {
ID uuid.UUID `db:"id" json:"id" validate:"required,uuid"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
Username string `db:"username" json:"username"`
Email string `db:"email" json:"email"`
Attendee_Type string `db:"attendee_type" json:"attendee_type"`
Talk_id uuid.UUID `db:"talk_id" json:"talk_id"`
}
type Conference ¶
type Conference struct {
ID uuid.UUID `db:"id" json:"id" validate:"required,uuid"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
Title string `db:"title" json:"title"`
Description string `db:"description" json:"description"`
Start_Date time.Time `db:"start_date" json:"start_date"`
End_Date time.Time `db:"end_date" json:"end_date"`
}
func (*Conference) Scan ¶
func (b *Conference) Scan(value interface{}) error
type Edit ¶
type Edit struct {
ID uuid.UUID `db:"id" json:"id" validate:"required,uuid"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
PreviousState []byte `db:"previousState"`
CurrentState []byte `db:"currentState"`
EditType string `db:"edit_type" json:"edit_type"`
EditTargetID uuid.UUID `db:"edit_target_id" json:"edit_target_id"`
}
type Talk ¶
type Talk struct {
ID uuid.UUID `db:"id" json:"id" validate:"required,uuid"`
CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at" json:"updated_at"`
Title string `db:"title" json:"title"`
Description string `db:"description" json:"description"`
Scheduled_Date time.Time `db:"scheduled_date" json:"scheduled_date"`
Duration int `db:"duration" json:"duration"`
Conference_ID uuid.UUID `db:"conferenceId" json:"conferenceId"`
}
Click to show internal directories.
Click to hide internal directories.