Enroll Student and Register Teacher api done
This commit is contained in:
1 parent
f8d006fe8b
commit
0a678badb3
6 files changed
+375
-72
No files matched your search
@@ -9,8 +9,7 @@ import (
|
||||
"go.mongodb.org/mongo-driver/mongo"
|
||||
)
|
||||
|
||||
var client *mongo.Client = database.DBinstance()
|
||||
var studentCollection *mongo.Collection = database.OpenCollection(client, "students")
|
||||
var studentCollection *mongo.Collection = database.OpenCollection(database.Client, "students")
|
||||
|
||||
func main() {
|
||||
app := fiber.New()
|
||||
|
||||
Reference in new issue
Block a user