Initial commit: Go starter template

هذا الالتزام موجود في:
mustafalasheen
2025-04-15 15:29:03 +02:00
التزام 13796d8437
3 ملفات معدلة مع 29 إضافات و0 حذوفات

15
main.go Normal file
عرض الملف

@@ -0,0 +1,15 @@
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "MARHABA in Ghaymah")
})
fmt.Println("Server starting on port 8080...")
http.ListenAndServe(":8080", nil)
}