diff options
Diffstat (limited to 'http/index.go')
| -rw-r--r-- | http/index.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http/index.go b/http/index.go index 124e172..792e64a 100644 --- a/http/index.go +++ b/http/index.go @@ -5,6 +5,7 @@ import ( "toast.cafe/x/brpaste/v2/template" ) +// Index handles the / endpoint func Index(ctx *fasthttp.RequestCtx) { ctx.SuccessString("text/html", template.Index()) // render template } |
