packagertm

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 5 Imported by: 0

README

packagertm

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertDataRTM

func InsertDataRTM(db *mongo.Database, nama, tanggal string, lokasi string, agenda string) (InsertedID interface{})

func InsertOneDoc

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

Types

type DataRTM

type DataRTM struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	NamaRapat    string             `bson:"namarapat,omitempty" json:"namarapat,omitempty"`
	TanggalRapat string             `bson:"tanggalrapat,omitempty" json:"tanggalrapat,omitempty"`
	LokasiRapat  string             `bson:"lokasirapat,omitempty" json:"lokasirapat,omitempty"`
	AgendaRapat  string             `bson:"agendarapat,omitempty" json:"agendarapat,omitempty"`
}

func DeleteDataRtm

func DeleteDataRtm(lokasirapat string, db *mongo.Database, col string) (data DataRTM)

func GetDataRtm

func GetDataRtm(namarapat string, db *mongo.Database, col string) (data []DataRTM)

func GetDataRtmFromAgenda

func GetDataRtmFromAgenda(agendarapat string, db *mongo.Database, col string) (data DataRTM)

Jump to

Keyboard shortcuts

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