The simplest web server

This commit is contained in:
Jason Streifling 2024-02-18 07:20:51 +01:00
parent 77efecb212
commit ff657fd508
2 changed files with 11 additions and 0 deletions

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module streifling.com/jason/cpolis
go 1.22.0

8
main.go Normal file
View File

@ -0,0 +1,8 @@
package main
import "net/http"
func main() {
mux := http.NewServeMux()
http.ListenAndServe(":8080", mux)
}