bella

package module
v0.0.0-...-262aae9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoString string = os.Getenv("MONGOSTRING")

Functions

func InsertDosen

func InsertDosen(namadosen string, kodedosen string, matakuliah string) (InsertedID interface{})

func InsertJadwalKuliah

func InsertJadwalKuliah(hari string, jammulai string, jamselesai string, ruang string) (InsertedID interface{})

func InsertKelas

func InsertKelas(ruang string, kapasitasmhs string) (InsertedID interface{})

func InsertMahasiswa

func InsertMahasiswa(namamhs string, kelas string, prodi string) (InsertedID interface{})

func InsertMataKuliah

func InsertMataKuliah(namamatakuliah string, kodematakuliah string, dosen string, sks string) (InsertedID interface{})

func InsertOneDoc

func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{})

func MongoConnect

func MongoConnect(dbname string) (db *mongo.Database)

Types

This section is empty.

Jump to

Keyboard shortcuts

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