Initial Go web server with Web Awesome hello world

This commit is contained in:
Ian Gulliver
2025-12-28 22:09:45 -08:00
commit b508b19dbb
4 changed files with 50 additions and 0 deletions

13
main.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"log"
"net/http"
)
func main() {
http.Handle("/", http.FileServer(http.Dir("static")))
log.Println("server starting on :8080")
log.Fatal(http.ListenAndServe(":8080", nil))
}