Documentation
¶
Index ¶
- Variables
- func GetCamabaFromPhoneNumber(phone_number string, db *mongo.Database, col string) (camaba model.Camaba)
- func GetDaftarSekolahFromKDSekolah(kdsekolah int, db *mongo.Database, col string) (dfsekolah model.DaftarSekolah)
- func GetJurusanFromKDJurusan(kdjurusan string, db *mongo.Database, col string) (dfjurusan model.Jurusan)
- func GetPendaftaranFromKTP(ktp int, db *mongo.Database, col string) (pendaftaran model.Pendaftaran)
- func InsertDaftarCamaba(db *mongo.Database, col string, ktp int, nama string, phone_number string, ...) (InsertedID interface{})
- func InsertDaftarJurusan(db *mongo.Database, col string, kodejurusan string, nama string, ...) (InsertedID interface{})
- func InsertDaftarSekolah(db *mongo.Database, col string, kodesklh int, nama string, phone_number string, ...) (InsertedID interface{})
- func InsertOneDoc(db *mongo.Database, collection string, doc interface{}) (insertedID interface{})
- func InsertPendaftaran(db *mongo.Database, col string, kdpendaftar int, biodata model.Camaba, ...) (InsertedID interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoConn = atdb.MongoConnect(MongoInfo)
View Source
var MongoInfo = atdb.DBInfo{ DBString: MongoString, DBName: "tes_db_pmb", }
View Source
var MongoString string = os.Getenv("MONGOSTRING")
Functions ¶
func GetJurusanFromKDJurusan ¶
func GetPendaftaranFromKTP ¶
func InsertDaftarCamaba ¶
func InsertDaftarJurusan ¶
func InsertDaftarSekolah ¶
func InsertOneDoc ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.