task

package
v0.2.83 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Response intermoni.Response
)

Functions

func CheckTaskByMahasiswaMagang

func CheckTaskByMahasiswaMagang(idmahasiswamagang primitive.ObjectID, db *mongo.Database) bool

func EditTaskOlehMentor

func EditTaskOlehMentor(idmahasiswamagang primitive.ObjectID, db *mongo.Database, updatedDoc intermoni.Task) error

func Get

func Get(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string

func GetTaskByIDMahasiswaMagang added in v0.2.63

func GetTaskByIDMahasiswaMagang(idmahasiswamagang primitive.ObjectID, db *mongo.Database) (task intermoni.Task, err error)

func GetTaskByMahasiswa

func GetTaskByMahasiswa(iduser primitive.ObjectID, db *mongo.Database) (bson.M, error)

func GetTaskByMahasiswaMagang

func GetTaskByMahasiswaMagang(idmahasiswamagang primitive.ObjectID, db *mongo.Database) (bson.M, error)

func GetTaskFromID

func GetTaskFromID(idtask primitive.ObjectID, db *mongo.Database) (bson.M, error)

func Post

func Post(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string

func Put

func Put(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string

func TambahTaskOlehMentor

func TambahTaskOlehMentor(idmahasiswamagang primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Task) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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