Documentation ¶
Index ¶
- Variables
- func ApplyMagang(idmagang, iduser primitive.ObjectID, db *mongo.Database) error
- func BatalApply(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database) error
- func CheckMahasiswaMagang(idmahasiswa, idmagang primitive.ObjectID, db *mongo.Database) bool
- func Delete(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func Get(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func GetAllMahasiswaMagangFromMagangByMitra(idmagang, iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
- func GetMahasiswaMagang(user_login intermoni.Payload, conn *mongo.Database) string
- func GetMahasiswaMagangByAdmin(db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
- func GetMahasiswaMagangByMahasiswa(_id primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
- func GetMahasiswaMagangByMitra(iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
- func GetMahasiswaMagangFromID(idmahasiswamagang primitive.ObjectID, db *mongo.Database) (mahasiswa_magang intermoni.MahasiswaMagang, err error)
- func Post(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func Put(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string
- func TambahMentorMahasiswaMagangByMitra(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database, ...) error
- func TambahPembimbingMahasiswaMagangByAdmin(idmahasiswamagang primitive.ObjectID, db *mongo.Database, ...) error
- func UpdateStatusMahasiswaMagang(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Response intermoni.Response
)
Functions ¶
func ApplyMagang ¶
by mahasiswa
func BatalApply ¶
by mahasiswa
func CheckMahasiswaMagang ¶
func GetAllMahasiswaMagangFromMagangByMitra ¶ added in v0.1.3
func GetMahasiswaMagang ¶ added in v0.2.0
func GetMahasiswaMagangByAdmin ¶
func GetMahasiswaMagangByAdmin(db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
by admin
func GetMahasiswaMagangByMahasiswa ¶
func GetMahasiswaMagangByMahasiswa(_id primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
by mahasiswa
func GetMahasiswaMagangByMitra ¶
func GetMahasiswaMagangByMitra(iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)
by mitra
func GetMahasiswaMagangFromID ¶ added in v0.1.5
func GetMahasiswaMagangFromID(idmahasiswamagang primitive.ObjectID, db *mongo.Database) (mahasiswa_magang intermoni.MahasiswaMagang, err error)
get by id mahasiswa magang
func TambahMentorMahasiswaMagangByMitra ¶ added in v0.1.0
func TambahMentorMahasiswaMagangByMitra(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.MahasiswaMagang) error
by mitra
func TambahPembimbingMahasiswaMagangByAdmin ¶ added in v0.1.0
func TambahPembimbingMahasiswaMagangByAdmin(idmahasiswamagang primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.MahasiswaMagang) error
by admin
func UpdateStatusMahasiswaMagang ¶
func UpdateStatusMahasiswaMagang(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.MahasiswaMagang) error
by mahasiswa
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.