Documentation ¶
Index ¶
- Variables
- func Delete(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func DeleteReportByMahasiswa(idreport, iduser primitive.ObjectID, db *mongo.Database) error
- func Get(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func GetAllReportByMahasiswa(_id primitive.ObjectID, db *mongo.Database) (data []bson.M, err error)
- func GetAllReportByPenerima(_id primitive.ObjectID, db *mongo.Database) (report []intermoni.Report, err error)
- func GetMahasiswaMagangByMahasiswa(iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang intermoni.MahasiswaMagang, err error)
- func GetReportByID(_id primitive.ObjectID, db *mongo.Database) (data bson.M, err error)
- func Post(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func Put(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func TambahReportByMahasiswa(iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Report) error
- func UpdateReportByMahasiswa(idreport, iduser primitive.ObjectID, db *mongo.Database, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Response intermoni.Response
)
Functions ¶
func DeleteReportByMahasiswa ¶ added in v0.1.4
func GetAllReportByMahasiswa ¶ added in v0.1.1
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 GetReportByID ¶ added in v0.1.5
func TambahReportByMahasiswa ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.