dipa

package module
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func InsertListTamu added in v0.0.12

func InsertListTamu(name string, notelp string, email string, kota string) (InsertedID interface{})

func InsertOneDoc

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

func InsertPesertaRapat added in v0.0.12

func InsertPesertaRapat(nama string, instansi string, status string) (InsertedID interface{})

func InsertRapatMulai added in v0.0.12

func InsertRapatMulai(pembicara string, durasi string) (InsertedID interface{})

func InsertUndanganRapat

func InsertUndanganRapat(lokasi string, agenda string, peserta string) (InsertedID interface{})

func InsertWaktuRapat added in v0.0.12

func InsertWaktuRapat(hal string, materi string) (InsertedID interface{})

func MongoConnect

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

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

func GetDataListTamu(kota string) (data []Listtamu)

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)

Jump to

Keyboard shortcuts

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