From ca0df8eddecd7d82495e81fb7a56fc798915ac20 Mon Sep 17 00:00:00 2001 From: Lorenzo Venerandi Date: Fri, 6 Dec 2024 01:06:09 +0100 Subject: [PATCH] removed useless stuff --- main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.go b/main.go index 453c87c..37b30db 100644 --- a/main.go +++ b/main.go @@ -2,9 +2,6 @@ package main import ( - "fmt" - "net/http" - "gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/messaging/handler" ) @@ -12,10 +9,6 @@ func init() { handler.Exports.HandleMessage = handleMessage } -func handleRequest(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "Hello from Go!\n") -} - // Since we don't run this program like a CLI, the `main` function is empty. Instead, // we call the `handleRequest` function when an HTTP request is received. func main() {}