Initial commit

This commit is contained in:
Fabio Scotto di Santolo
2025-05-31 22:04:55 +02:00
parent 15acea9120
commit 1a5d437311
17 changed files with 392 additions and 0 deletions

10
internal/api/welcome.go Normal file
View File

@@ -0,0 +1,10 @@
package api
import "net/http"
func Hello(w http.ResponseWriter, r *http.Request) {
if _, err := w.Write([]byte("Welcome to my homepage")); err != nil {
return
}
w.WriteHeader(http.StatusOK)
}