report

package
v0.2.43 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Response intermoni.Response
)

Functions

func Delete added in v0.1.5

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

func DeleteReportByMahasiswa added in v0.1.4

func DeleteReportByMahasiswa(idreport, iduser primitive.ObjectID, db *mongo.Database) error

func Get added in v0.1.1

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

func GetAllReportByMahasiswa added in v0.1.1

func GetAllReportByMahasiswa(_id primitive.ObjectID, db *mongo.Database) (data []bson.M, err error)

by mahasiswa

func GetAllReportByPenerima added in v0.1.1

func GetAllReportByPenerima(_id primitive.ObjectID, db *mongo.Database) (report []intermoni.Report, err error)

by mentor/pembimbing

func GetMahasiswaMagangByMahasiswa added in v0.2.1

func GetMahasiswaMagangByMahasiswa(iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang intermoni.MahasiswaMagang, err error)

func GetReportByID added in v0.1.5

func GetReportByID(_id primitive.ObjectID, db *mongo.Database) (data bson.M, err error)

func Post

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

func Put added in v0.1.5

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

func TambahReportByMahasiswa

func TambahReportByMahasiswa(iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Report) error

func UpdateReportByMahasiswa added in v0.1.4

func UpdateReportByMahasiswa(idreport, iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Report) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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