github.com/labstack/echo

github.com/labstack/echo

High performance, extensible, minimalist Go web framework.

Use tracer middleware

Advice
Replace the expression using the template:
// Using the following synthetic imports:
import (
	echo      "github.com/labstack/echo/v4"
	echotrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/labstack/echo.v4"
)
func() *echo.Echo {
	e := {{ . }}
	e.Use(echotrace.Middleware())
	return e
}()