formatted them with fmt

This commit is contained in:
2026-07-17 20:37:26 -06:00
parent 351affe570
commit 808c416471
2 changed files with 8 additions and 8 deletions
@@ -64,7 +64,7 @@ func GetMovie() gin.HandlerFunc {
}
}
func AddMovie() gin.HandlersChain {
func AddMovie() gin.HandlerFunc {
return func(c *gin.Context) {
ctx, cancel := context.WithTimeout(context.Background(), 100*time.Second)
defer cancel()
@@ -89,4 +89,4 @@ func AddMovie() gin.HandlersChain {
c.JSON(http.StatusCreated, result)
}
}
}
@@ -1,13 +1,13 @@
package database
import (
"fmt"
"log"
"os"
"fmt"
"log"
"os"
"github.com/joho/godotenv"
"go.mongodb.org/mongo-driver/v2/mongo"
"go.mongodb.org/mongo-driver/v2/mongo/options"
"github.com/joho/godotenv"
"go.mongodb.org/mongo-driver/v2/mongo"
"go.mongodb.org/mongo-driver/v2/mongo/options"
)
func Connect() *mongo.Client {