mahasiswa_magang

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 ApplyMagang

func ApplyMagang(idmagang, iduser primitive.ObjectID, db *mongo.Database) error

by mahasiswa

func BatalApply

func BatalApply(idmahasiswamagang, iduser primitive.ObjectID, db *mongo.Database) error

by mahasiswa

func CheckMahasiswaMagang

func CheckMahasiswaMagang(idmahasiswa, idmagang primitive.ObjectID, db *mongo.Database) bool

func Delete added in v0.1.0

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

func Get added in v0.1.0

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

func GetAllMahasiswaMagangFromMagangByMitra added in v0.1.3

func GetAllMahasiswaMagangFromMagangByMitra(idmagang, iduser primitive.ObjectID, db *mongo.Database) (mahasiswa_magang []intermoni.MahasiswaMagang, err error)

func GetMahasiswaMagang added in v0.2.0

func GetMahasiswaMagang(user_login intermoni.Payload, conn *mongo.Database) string

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 Post added in v0.1.0

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

func Put

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

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.

Jump to

Keyboard shortcuts

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