From d57295e38b8afd16982f3f6083122ab73f62ddf7 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 13 May 2019 02:51:11 -0400 Subject: staticcheck warning fixed --- handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers.go b/handlers.go index 9722788..01049b0 100644 --- a/handlers.go +++ b/handlers.go @@ -11,9 +11,9 @@ import ( ) // handles "/" -func indexHandler(w http.ResponseWriter, r *http.Request) { +func indexHandler(w http.ResponseWriter, _ *http.Request) { w.Header().Set("Content-Type", htmlutf8) - n, err := w.Write([]byte(getwtxt)) + n, err := w.Write([]byte("getwtxt v" + getwtxt)) if err != nil || n == 0 { log.Printf("Error writing to HTTP stream: %v\n", err) } -- cgit 1.4.1-2-gfad0