Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ID primitive.ObjectID `bson:"_id" json:"id"` Title string `json:"title"` Description string `json:"description"` Slots int `json:"slots"` RegisteredUsers []string `json:"registeredUsers,omitempty"` Creator string `json:"creator"` Status string `json:"status"` EventDate time.Time `json:"eventDate"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
type EventStatus ¶
type EventStatus string
const ( Open EventStatus = "open" Closed EventStatus = "closed" )
type EventWithUserState ¶
Click to show internal directories.
Click to hide internal directories.