diff options
Diffstat (limited to 'http/get.go')
| -rw-r--r-- | http/get.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http/get.go b/http/get.go index 016173f..903b5b2 100644 --- a/http/get.go +++ b/http/get.go @@ -6,6 +6,7 @@ import ( "toast.cafe/x/brpaste/v2/template" ) +// Get generates a handler for the /:key[/:lang] endpoint func Get(store storage.CHR) handler { return func(ctx *fasthttp.RequestCtx) { ukey := ctx.UserValue("key") |
