Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Model VenueID bson.ObjectId `json:"venueId" form:"venueId" binding:"required"` StartTime time.Time `json:"startTime" form:"startTime"` EndTime time.Time `json:"endTime" form:"endTime"` FacebookID string `json:"facebookId" form:"facebookId"` }
Event defines a social gathering of any sort.
type Model ¶
type Model struct { ID bson.ObjectId `json:"id" form:"id" bson:"_id,omitempty"` CreatedOn time.Time `json:"createdOn" form:"createdOn"` UpdatedOn time.Time `json:"updatedOn" form:"updatedOn"` DeletedOn *time.Time `json:"deletedOn" form:"deletedOn"` }
Model represents a base database type
type ModelFilters ¶
type ModelFilters struct { ID *bson.ObjectId `json:"id,omitempty" form:"id,omitempty" bson:"_id,omitempty"` CreatedOn *time.Time `json:"createdOn,omitempty" form:"createdOn,omitempty"` UpdatedOn *time.Time `json:"updatedOn,omitempty" form:"updatedOn,omitempty"` DeletedOn *time.Time `json:"deletedOn,omitempty" form:"deletedOn,omitempty"` }
ModelFilters contains all the possible filters for a Model
Click to show internal directories.
Click to hide internal directories.