Documentation ¶
Index ¶
- Variables
- func InsertAgendabel(topik string, hasil string, rencanaperbaikan string, penanggungjawab string, ...) (InsertedID interface{})
- func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{})
- func InsertPenjawab(nama string, divisi string) (InsertedID interface{})
- func MongoConnect(dbname string) (db *mongo.Database)
- type Agendabel
- type Penjawab
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoString string = os.Getenv("MONGOSTRING")
Functions ¶
func InsertAgendabel ¶
func InsertOneDoc ¶
func InsertPenjawab ¶
func MongoConnect ¶
Types ¶
type Agendabel ¶
type Agendabel struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id"` Topik string `bson:"topik" json:"topik"` Hasil string `bson:"hasil" json:"hasil"` RencanaPerbaikan string `bson:"rencanaperbaikan" json:"rencanaperbaikan"` PenanggungJawab string `bson:"penanggungjawab" json:"penanggungjawab"` TargetSelesai string `bson:"targetselesai" json:"targetselesai"` }
func GetDataAgendabel ¶
Click to show internal directories.
Click to hide internal directories.