Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct { ID primitive.ObjectID `bson:"_id" json:"_id"` Author string `bson:"author" json:"author"` AuthorMetaID string `bson:"meta_id" json:"meta_id"` PostID primitive.ObjectID `bson:"post_id" json:"post_id"` Description string `bson:"description" json:"description"` }
func GetApplications ¶
func GetApplications(post_id primitive.ObjectID) []Application
type Post ¶
type Post struct { ID primitive.ObjectID `bson:"_id" json:"_id"` Author string `bson:"author" json:"author"` AuthorMetaID string `bson:"meta_id" json:"meta_id"` Title string `bson:"title" json:"title"` Description string `bson:"description" json:"description"` Deadline time.Time `bson:"deadline" json:"deadline"` Bounty float64 `bson:"bounty" json:"bounty"` }
func CreateBounty ¶
func GetBounties ¶
func GetBounties() []Post
Click to show internal directories.
Click to hide internal directories.