module

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProfile added in v0.0.3

func CreateProfile(username string, fullName string, email string, password string, db *mongo.Database, input string) (insertedID interface{})

func DeleteDataHelper

func DeleteDataHelper(phone string, db *mongo.Database, col string) (data model.Helperhd)

func DeleteProfile added in v0.0.3

func DeleteProfile(username string, db *mongo.Database, input string)

func GetDataAboutz added in v0.0.2

func GetDataAboutz(pertanyaan string, db *mongo.Database, col string) (data []model.Aboutnye)

func GetDataAllbyStats

func GetDataAllbyStats(stats string, db *mongo.Database, col string) (data []model.DataComplainhd)

func GetDataCompFromHandphone

func GetDataCompFromHandphone(phone string, db *mongo.Database, col string) (data model.DataComplainhd)

func GetDataCompFromStatus

func GetDataCompFromStatus(status string, db *mongo.Database, col string) (data model.DataComplainhd)

func GetDataContacusz added in v0.0.2

func GetDataContacusz(phone_number string, db *mongo.Database, col string) (data []model.Contacusnye)

func GetDataDafdir added in v0.0.2

func GetDataDafdir(ket string, db *mongo.Database, col string) (data model.Dafdir)

func GetDataDafpel added in v0.0.2

func GetDataDafpel(ket string, db *mongo.Database, col string) (data model.Dafpel)

func GetDataDashboardz added in v0.0.2

func GetDataDashboardz(Username string, db *mongo.Database, col string) (data []model.Dashboardnye)

func GetDataDosenz added in v0.0.2

func GetDataDosenz(Jabatan string, db *mongo.Database, col string) (data []model.Dosenye)

func GetDataHelperFromPhone

func GetDataHelperFromPhone(phone string, db *mongo.Database, col string) (data model.Helperhd)

func GetDataHonor added in v0.0.2

func GetDataHonor(stats string, db *mongo.Database, col string) (data []model.Honor)

func GetDataJob added in v0.0.2

func GetDataJob(stats string, db *mongo.Database, col string) (data []model.Job)

func GetDataJumlah

func GetDataJumlah(tahun string, db *mongo.Database, col string) (data []model.JumlahComplainhd)

func GetDataKursus added in v0.0.2

func GetDataKursus(stats string, db *mongo.Database, col string) (data []model.Kursus)

func GetDataMahasiswaz added in v0.0.2

func GetDataMahasiswaz(Nama_mhs string, db *mongo.Database, col string) (data []model.Mahasiswanye)

func GetDataNilai added in v0.0.2

func GetDataNilai(matpel string, db *mongo.Database, col string) (data model.Nilaisis)

func GetDataPembayarandaffa added in v0.0.2

func GetDataPembayarandaffa(stats string, db *mongo.Database, col string) (data []model.Pembayarandaps)

func GetDataPembayaransaw added in v0.0.2

func GetDataPembayaransaw(stats string, db *mongo.Database, col string) (data model.Pembayaransis)

func GetDataPendaftaran added in v0.0.2

func GetDataPendaftaran(stats string, db *mongo.Database, col string) (data []model.Pendaftaran)

func GetDataPengumuman added in v0.0.2

func GetDataPengumuman(stats string, db *mongo.Database, col string) (data []model.Pengumuman)

func GetDataTeam added in v0.0.2

func GetDataTeam(stats string, db *mongo.Database, col string) (data []model.Team)

func GetDataUser added in v0.0.2

func GetDataUser(stats string, db *mongo.Database, col string) (data []model.Userdaps)

func GetKaryawan added in v0.0.2

func GetKaryawan(stats string, db *mongo.Database, col string) (data []model.Karyawan)

func GetNamaUser added in v0.0.2

func GetNamaUser(nama string, db *mongo.Database, col string) (data []model.UserSurat)

func GetSurat added in v0.0.2

func GetSurat(surat string, db *mongo.Database, col string) (data []model.UserSurat)

func GetUserData added in v0.0.2

func GetUserData(telepon string, db *mongo.Database, col string) (data []model.UserSurat)

func InserDatatProduktagih added in v0.0.2

func InserDatatProduktagih(db *mongo.Database, npr string, hpr string) (InsertedID interface{})

func InsertAboutnye added in v0.0.2

func InsertAboutnye(db *mongo.Database, pertanyaan string, jawaban string) (InsertedID interface{})

func InsertContacusq added in v0.0.2

func InsertContacusq(db *mongo.Database, phone_number string, email string) (InsertedID interface{})

func InsertDafdir added in v0.0.2

func InsertDafdir(db *mongo.Database, keterangan string, kehadiran string) (InsertedID interface{})

func InsertDafpel added in v0.0.2

func InsertDafpel(db *mongo.Database, keterangan string, poin string) (InsertedID interface{})

func InsertDashboardq added in v0.0.2

func InsertDashboardq(db *mongo.Database, Username string, Email string, Location string, Orders string, Lastorders string, Totalspent string, Sks string) (InsertedID interface{})

func InsertDataAbouttagih added in v0.0.2

func InsertDataAbouttagih(db *mongo.Database, satu string, dua string) (InsertedID interface{})

func InsertDataAbouttt added in v0.0.2

func InsertDataAbouttt(db *mongo.Database, isi_satu string, isi_dua string, image string) (InsertedID interface{})

func InsertDataComp

func InsertDataComp(db *mongo.Database, sistem string, status string, bio model.Userhd) (InsertedID interface{})

func InsertDataHelper

func InsertDataHelper(helper string, username string, nama string, email string, handphone string, db *mongo.Database, col string) (InsertedID interface{})

func InsertDataHonor added in v0.0.2

func InsertDataHonor(db *mongo.Database, nama string, status string, jabatan string, gaji string) (InsertedID interface{})

func InsertDataJob added in v0.0.2

func InsertDataJob(db *mongo.Database, nama string) (InsertedID interface{})

func InsertDataKursus added in v0.0.2

func InsertDataKursus(db *mongo.Database, nama_kursus string, jenjang_kursus string, pengajar string) (InsertedID interface{})

func InsertDataPembayarandaps added in v0.0.2

func InsertDataPembayarandaps(db *mongo.Database, status string, total_bayar string) (InsertedID interface{})

func InsertDataPembayarantagih added in v0.0.2

func InsertDataPembayarantagih(db *mongo.Database, tby string, jby string, mby string) (InsertedID interface{})

func InsertDataPendaftaran added in v0.0.2

func InsertDataPendaftaran(db *mongo.Database, nama_siswa string, nis string, nik string) (InsertedID interface{})

func InsertDataPengumuman added in v0.0.2

func InsertDataPengumuman(db *mongo.Database, hasil_seleksi string, nilai string, program string) (InsertedID interface{})

func InsertDataTeam added in v0.0.2

func InsertDataTeam(db *mongo.Database, nama string, deskripsi string) (InsertedID interface{})

func InsertDataUserdaps added in v0.0.2

func InsertDataUserdaps(db *mongo.Database, nama string, gender string, email string, no_hp string) (InsertedID interface{})

func InsertDosenq added in v0.0.2

func InsertDosenq(db *mongo.Database, nama string, Jabatan string, Noted string, img_dosen string) (InsertedID interface{})

func InsertJumlahComplain

func InsertJumlahComplain(db *mongo.Database, collect string, bulan string, tahun string, jumlah string) (InsertedID interface{})

func InsertKaryawan

func InsertKaryawan(db *mongo.Database, nama string, status string, jabatan string, gaji string) (InsertedID interface{})

func InsertKategoriSurat added in v0.0.2

func InsertKategoriSurat(NamaKategori string, Surat string, db *mongo.Database, col string) (InsertedID interface{})

func InsertMahasiswaq added in v0.0.2

func InsertMahasiswaq(db *mongo.Database, Nama_mhs string, email_mhs string, gambar_mhs string) (InsertedID interface{})

func InsertNilai added in v0.0.2

func InsertNilai(db *mongo.Database, matpel string, kkm string, grade string) (InsertedID interface{})

func InsertOneDoc

func InsertOneDoc(db *mongo.Database, collection string, doc interface{}) (insertedID interface{})

func InsertPelanggantagih added in v0.0.2

func InsertPelanggantagih(db *mongo.Database, nm string, alm string, tlp string, em string) (InsertedID interface{})

func InsertPembayaran

func InsertPembayaran(db *mongo.Database, keterangan string, status string) (InsertedID interface{})

func InsertProfile added in v0.0.3

func InsertProfile(studying string, username string, bio string, checkin string, biodata Profile, db *mongo.Database) (InsertID interface{})

func InsertSurat

func InsertSurat(Isisurat string, Subject string, db *mongo.Database, col string) (InsertedID interface{})

func InsertSuratChat added in v0.0.2

func InsertSuratChat(db *mongo.Database, collect string, Isisurat string, Subject string) (InsertedID interface{})

func InsertTagihan added in v0.0.2

func InsertTagihan(db *mongo.Database, tgh string, tth string, sp string) (InsertedID interface{})

func InsertUserData added in v0.0.2

func InsertUserData(Nama string, Email string, Telepon string, db *mongo.Database, col string) (InsertedID interface{})

func UpdateProfilePassword added in v0.0.3

func UpdateProfilePassword(username string, newPassword string, input string, db *mongo.Database)

Types

type ListData added in v0.0.3

type ListData struct {
	Studying string  `bson:"pendidikan"`
	Bio      string  `bson:"bio"`
	Username string  `bson:"username"`
	Checkin  string  `bson:"checkin"`
	Biodata  Profile `bson:"biodata"`
}

type Profile added in v0.0.3

type Profile struct {
	Username string `bson:"username"`
	FullName string `bson:"full_name"`
	Email    string `bson:"email"`
	Password string `bson:"password"`
}

func GetDataProfFromStatus added in v0.0.3

func GetDataProfFromStatus(status string, db *mongo.Database, input string) (profile Profile)

func GetProfileByUsername added in v0.0.3

func GetProfileByUsername(username string, db *mongo.Database, input string) (profile Profile)

Jump to

Keyboard shortcuts

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