mentor

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Response intermoni.Response
)

Functions

func AddMentorByMitra

func AddMentorByMitra(iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Mentor) error

func CheckMentor_MahasiswaMagang added in v0.1.3

func CheckMentor_MahasiswaMagang(idmentor primitive.ObjectID, db *mongo.Database) bool

func Get added in v0.1.3

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

func GetAllMentorByAdmin added in v0.1.3

func GetAllMentorByAdmin(db *mongo.Database) (mentor []intermoni.Mentor, err error)

by admin

func GetAllMentorByMitra added in v0.1.3

func GetAllMentorByMitra(iduser primitive.ObjectID, db *mongo.Database) (mentor []intermoni.Mentor, err error)

by mitra

func GetMentorFromIDByAdmin added in v0.1.3

func GetMentorFromIDByAdmin(idparam primitive.ObjectID, db *mongo.Database) (mentor intermoni.Mentor, err error)

func JumlahStatusGagalMahasiswaMagang added in v0.1.3

func JumlahStatusGagalMahasiswaMagang(idmentor primitive.ObjectID, db *mongo.Database) int64

func Post

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

func Put added in v0.1.4

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

func UpdateMentor added in v0.1.3

func UpdateMentor(idparam, iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Mentor) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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