package comics import ( "gopkg.in/mgo.v2/bson" ) // Comic defines the data model for comic issues with id, title, publisher, order and completion status. type Comic struct { ID bson.ObjectId `json:"_id" bson:"_id,omitempty"` Title string `json:"title" bson:"title"` Publisher bson.ObjectId `json:"publisher" bson:"publisher,omitempty"` CurrentOrder bool `json:"current_order" bson:"current_order"` Completed bool `json:"completed" bson:"completed"` Model string `json:"model" bson:"model"` }