Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` EventId bson.ObjectId `json:"event_id" bson:"event_id"` Comment string `json:"comment" bson:"comment"` CreatedBy bson.ObjectId `json:"created_by" bson:"created_by"` CreatedAt time.Time `json:"created_at" bson:"created_at"` }
type Event ¶
type Event struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id,omitempty"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Category string `json:"category" bson:"category"` Coordinates []float64 `json:"coordinates" bson:"coordinates"` CreatedBy bson.ObjectId `json:"created_by" bson:"created_by"` CreatedAt time.Time `json:"created_at" bson:"created_at"` StartTime time.Time `json:"start_time" bson:"start_time"` EndTime time.Time `json:"end_time" bson:"end_time"` }
Click to show internal directories.
Click to hide internal directories.