aboutsummaryrefslogtreecommitdiffstats
path: root/modules/context/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/context.go')
-rw-r--r--modules/context/context.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/context/context.go b/modules/context/context.go
index 1eff1459a1..04f8a9bd3d 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -42,14 +42,13 @@ import (
"gitea.com/go-chi/session"
chi "github.com/go-chi/chi/v5"
"github.com/minio/sha256-simd"
- "github.com/unrolled/render"
"golang.org/x/crypto/pbkdf2"
)
// Render represents a template render
type Render interface {
TemplateLookup(tmpl string) *template.Template
- HTML(w io.Writer, status int, name string, binding interface{}, htmlOpt ...render.HTMLOptions) error
+ HTML(w io.Writer, status int, name string, data interface{}) error
}
// Context represents context of a request.