From 39edd9921fe813d47173eded3b49369e2cda7360 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 23 May 2026 21:34:55 +0200 Subject: Remove / and hello() handler This was just for demonstration purposes. --- handlers.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'handlers.go') diff --git a/handlers.go b/handlers.go index 0f6593f..28219e8 100644 --- a/handlers.go +++ b/handlers.go @@ -6,14 +6,9 @@ import ( ) func init() { - router.HandleFunc("/", hello) router.HandleFunc("/version", version) } -func hello(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Hello world!") -} - func version(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, versionTxt) } -- cgit v1.3