Skip to content

Commit a92d475

Browse files
committed
.
1 parent 672a172 commit a92d475

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

backend/main.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ import (
44
"fmt"
55

66
"github.com/joho/godotenv"
7-
"go.mongodb.org/mongo-driver/mongo"
87
)
9-
var client *mongo.Client
8+
109
func main() {
1110
err := godotenv.Load()
1211
if err != nil {
1312
fmt.Println("Error loading .env file")
1413
}
1514
connectDb()
16-
15+
1716
router := setupRouter()
18-
17+
1918
router.Run(":8080")
20-
}
19+
}

0 commit comments

Comments
 (0)