github.com/gin-gonic/gin

github.com/gin-gonic/gin

Gin is a web framework written in Go.

Use tracer middleware

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