Documentation ¶
Index ¶
- Variables
- func InsertListTamu(name string, notelp string, email string, kota string) (InsertedID interface{})
- func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{})
- func InsertPesertaRapat(nama string, instansi string, status string) (InsertedID interface{})
- func InsertRapatMulai(pembicara string, durasi string) (InsertedID interface{})
- func InsertUndanganRapat(lokasi string, agenda string, peserta string) (InsertedID interface{})
- func InsertWaktuRapat(hal string, materi string) (InsertedID interface{})
- func MongoConnect(dbname string) (db *mongo.Database)
- type Listtamu
- type Pesertarapat
- type Rapatmulai
- type Undanganrapat
- type Wakturapat
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoString string = os.Getenv("MONGOSTRING")
Functions ¶
func InsertListTamu ¶ added in v0.0.12
func InsertOneDoc ¶
func InsertPesertaRapat ¶ added in v0.0.12
func InsertRapatMulai ¶ added in v0.0.12
func InsertUndanganRapat ¶
func InsertWaktuRapat ¶ added in v0.0.12
func MongoConnect ¶
Types ¶
type Listtamu ¶ added in v0.0.12
type Listtamu struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Name string `bson:"name" json:"name"` Notelp string `bson:"notelp" json:"notelp"` Email string `bson:"email" json:"email"` Kota string `bson:"kota" json:"kota"` }
func GetDataListTamu ¶ added in v0.0.12
type Pesertarapat ¶ added in v0.0.12
type Pesertarapat struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Nama string `bson:"nama" json:"nama"` Instansi string `bson:"instansi" json:"instansi"` Status string `bson:"status" json:"status"` }
func GetDataPesertaRapat ¶ added in v0.0.12
func GetDataPesertaRapat(instansi string) (data []Pesertarapat)
type Rapatmulai ¶ added in v0.0.12
type Rapatmulai struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Pembicara string `bson:"pembicara" json:"pembicara"` Durasi string `bson:"durasi" json:"durasi"` }
func GetDataRapatMulai ¶ added in v0.0.12
func GetDataRapatMulai(pembicara string) (data []Rapatmulai)
type Undanganrapat ¶ added in v0.0.12
type Undanganrapat struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Lokasi string `bson:"lokasi" json:"lokasi"` Agenda string `bson:"agenda" json:"agenda"` Peserta string `bson:"peserta" json:"peserta"` }
func GetDataUndanganRapat ¶
func GetDataUndanganRapat(lokasi string) (data []Undanganrapat)
type Wakturapat ¶ added in v0.0.12
type Wakturapat struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Hal string `bson:"hal" json:"hal"` Materi string `bson:"materi" json:"materi"` }
func GetDataWaktuRapat ¶ added in v0.0.12
func GetDataWaktuRapat(materi string) (data []Wakturapat)
Click to show internal directories.
Click to hide internal directories.