@@ -34,7 +34,7 @@ package src
3434import (
3535 " example.com/GofiberFirebaseBoilerplate/src/routes"
3636
37- " github.com/gofiber/fiber/v2 "
37+ " github.com/gofiber/fiber/v3 "
3838)
3939
4040func CreateServer () *fiber .App {
@@ -45,7 +45,7 @@ func CreateServer() *fiber.App {
4545 AppName: " Gofiber Firebase Boilerplate " + version,
4646 })
4747
48- app.Get (" /" , func (c * fiber.Ctx ) error {
48+ app.Get (" /" , func (c fiber.Ctx ) error {
4949 return c.SendString (" Gofiber Firebase Boilerplate " + version)
5050 })
5151
@@ -66,7 +66,7 @@ import (
6666 " example.com/GofiberFirebaseBoilerplate/src/database"
6767 " example.com/GofiberFirebaseBoilerplate/src/repositories"
6868
69- " github.com/gofiber/fiber/v2 "
69+ " github.com/gofiber/fiber/v3 "
7070)
7171
7272type Routes struct {
@@ -82,7 +82,7 @@ func (r *Routes) Setup(app *fiber.App) {
8282 app.Post (" message" , r.insertMessage )
8383}
8484
85- func (r *Routes ) insertMessage (c * fiber .Ctx ) error {
85+ func (r *Routes ) insertMessage (c fiber .Ctx ) error {
8686 return c.SendString (" ok" )
8787}
8888```
@@ -207,8 +207,8 @@ package app
207207import (
208208 " net/http"
209209
210- " github.com/gofiber/fiber/v2 "
211- adaptor " github.com/gofiber/fiber/v2 /middleware/adaptor"
210+ " github.com/gofiber/fiber/v3 "
211+ adaptor " github.com/gofiber/fiber/v3 /middleware/adaptor"
212212)
213213
214214// CloudFunctionRouteToFiber route cloud function http.Handler to *fiber.App
@@ -232,7 +232,7 @@ import (
232232 " strings"
233233
234234 " example.com/GofiberFirebaseBoilerplate/src"
235- " github.com/gofiber/fiber/v2 "
235+ " github.com/gofiber/fiber/v3 "
236236)
237237
238238var app *fiber.App
0 commit comments