Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ly Phuc Linh committed Apr 5, 2022
1 parent 270b22a commit cf5d108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import (
"github.com/gofiber/fiber/v2"
"log"

fasthttpprom "github.com/carousell/fiber-prometheus-middleware"
prom "github.com/carousell/fiber-prometheus-middleware"
)

func main() {

r := fiber.New()
p := fasthttpprom.NewPrometheus("")
p := prom.NewPrometheus("")
p.Use(r)

r.Get("/health", func(ctx *fiber.Ctx) error {
Expand Down

0 comments on commit cf5d108

Please sign in to comment.