rtm_package

package module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 5 Imported by: 0

README

rtmpackage

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertDataJob

func InsertDataJob(db *mongo.Database, job_title, deskripsi, deadline string, priority string) (InsertedID interface{})

func InsertOneDoc

func InsertOneDoc(db *mongo.Database, collection string, doc interface{}) (insertedID interface{})

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 DeleteDataJob

func DeleteDataJob(priority string, db *mongo.Database, col string) (data Job)

func DeleteDataJobtitle

func DeleteDataJobtitle(job_title string, db *mongo.Database, col string) (data Job)

func GetDataJob

func GetDataJob(priority string, db *mongo.Database, col string) (data Job)

func GetDataJobtitle

func GetDataJobtitle(job_title string, db *mongo.Database, col string) (data Job)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL