tmp-wasm/cmd/server/main.go
Vincent Batts fc6fc03dbc
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2024-12-13 16:21:11 -05:00

15 lines
263 B
Go

package main
import (
"fmt"
"net/http"
)
func main() {
fmt.Println("listening on http://localhost:9090/")
err := http.ListenAndServe(":9090", http.FileServer(http.Dir("./assets")))
if err != nil {
fmt.Println("Failed to start server", err)
return
}
}