func myHandler(w http.ResponseWriter, r *http.Request) { ctx := context.NewContext(w, r) defer ctx.Close() // Set data in context ctx.Data["Title"] = "My Page Title" ctx.Data["Content"] = "My Page Content" // Render HTML template with data from context middleware.HTML("my_template", ctx.Data)(ctx) }In this example, we create a new context for the request, set some data in the context, and then use the `HTML` middleware to render an HTML template with the data from the context. Overall, the `github.com/gogits/gogs/modules/middleware/context` package is a useful middleware library for managing request context data in Go web frameworks. In this example, we showed how the `HTML` middleware function can be used to render HTML templates with data from the request context.