github.com/gofiber/fiber
An Express inspired web framework built on Fasthttp, the fastest HTTP engine for Go.
Use tracer middleware
Call to
fiber.New
Replace the expression using the template:
// Using the following synthetic imports:
import (
fiber "github.com/gofiber/fiber/v2"
fibertrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/gofiber/fiber.v2"
)
func() *fiber.App {
app := {{ . }}
app.Use(fibertrace.Middleware())
return app
}()