aboutsummaryrefslogtreecommitdiff
path: root/fs_handler_example_test.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-12-13 07:56:24 +0200
committerGravatar GitHub <noreply@github.com> 2023-12-13 13:56:24 +0800
commit9d6b4702602cd29387a639c35cfb92e21a3bad11 (patch)
treed399130b9276f88be21cd277940110154df329f9 /fs_handler_example_test.go
parentchore: Set max line length to 130 characters (#1676) (diff)
downloadfasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.gz
fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.tar.bz2
fasthttp-9d6b4702602cd29387a639c35cfb92e21a3bad11.zip
chore: Add missing dots at the end of comments (#1677)
Diffstat (limited to 'fs_handler_example_test.go')
-rw-r--r--fs_handler_example_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_handler_example_test.go b/fs_handler_example_test.go
index 3831327..ec66dda 100644
--- a/fs_handler_example_test.go
+++ b/fs_handler_example_test.go
@@ -7,7 +7,7 @@ import (
"github.com/valyala/fasthttp"
)
-// Setup file handlers (aka 'file server config')
+// Setup file handlers (aka 'file server config').
var (
// Handler for serving images from /img/ path,
// i.e. /img/foo/bar.jpg will be served from
@@ -27,7 +27,7 @@ var (
filesHandler = fasthttp.FSHandler("/var/www/files", 0)
)
-// Main request handler
+// Main request handler.
func requestHandler(ctx *fasthttp.RequestCtx) {
path := ctx.Path()
switch {