init hello world

This commit is contained in:
2025-07-20 20:43:44 -04:00
parent 314fb8faa1
commit 349f7fad57
5 changed files with 98 additions and 2 deletions

9
http/helloworld.go Normal file
View File

@@ -0,0 +1,9 @@
package http
import "net/http"
func HelloWorld(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("hello world"))
})
}