package main

import (
	"fmt"
	"log"
	"net/http"
)

func runHTTP() {
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		fmt.Fprintf(w, "Hello, World!")
	})
	log.Printf("Starting HTTP server on port 80")
	err := http.ListenAndServe(":80", nil)
	if err != nil {
		log.Fatalf("Failed to start HTTP server: %s\n", err.Error())
	}
}
