Documentation ¶
Index ¶
- Variables
- func InsertDafdir(keterangan string, kehadiran string) (InsertedID interface{})
- func InsertDafpel(keterangan string, poin string) (InsertedID interface{})
- func InsertNilai(matpel string, kkm string, grade string) (InsertedID interface{})
- func InsertOneDoc(db string, collection string, doc interface{}) (insertedID interface{})
- func InsertPembayaran(keterangan string, status string) (InsertedID interface{})
- func MongoConnect(dbname string) (db *mongo.Database)
- type Dafdir
- type Dafpel
- type Nilai
- type Pembayaran
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoString string = os.Getenv("MONGOSTRING")
Functions ¶
func InsertDafdir ¶
func InsertDafpel ¶
func InsertNilai ¶
func InsertOneDoc ¶
func InsertPembayaran ¶
func MongoConnect ¶
Types ¶
type Dafdir ¶
type Dafdir struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Datetime primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"` Keterangan string `bson:"keterangan,omitempty" json:"keterangan,omitempty"` Kehadiran string `bson:"kehadiran,omitempty" json:"kehadiran,omitempty"` }
type Dafpel ¶
type Dafpel struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Datetime primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"` Keterangan string `bson:"keterangan,omitempty" json:"keterangan,omitempty"` Poin string `bson:"poin,omitempty" json:"poin,omitempty"` }
type Pembayaran ¶
type Pembayaran struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Datetime primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"` Keterangan string `bson:"keterangan,omitempty" json:"keterangan,omitempty"` Status string `bson:"status,omitempty" json:"status,omitempty"` }
Click to show internal directories.
Click to hide internal directories.