Documentation ¶
Index ¶
- func InsertDataJob(db *mongo.Database, job_title, deskripsi, deadline string, priority string) (InsertedID interface{})
- func InsertOneDoc(db *mongo.Database, collection string, doc interface{}) (insertedID interface{})
- type Job
- func DeleteDataJob(priority string, db *mongo.Database, col string) (data Job)
- func DeleteDataJobtitle(job_title string, db *mongo.Database, col string) (data Job)
- func GetDataJob(priority string, db *mongo.Database, col string) (data Job)
- func GetDataJobtitle(job_title string, db *mongo.Database, col string) (data Job)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertDataJob ¶
func InsertOneDoc ¶
Types ¶
type Job ¶
type Job struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Job_title string `bson:"job_title,omitempty" json:"job_title,omitempty"` Deskripsi string `bson:"deskripsi,omitempty" json:"deskripsi,omitempty"` Deadline string `bson:"deadline,omitempty" json:"deadline,omitempty"` Priority string `bson:"priority,omitempty" json:"priority,omitempty"` }
func DeleteDataJobtitle ¶
Click to show internal directories.
Click to hide internal directories.