package main import ( "fmt" "github.com/a-h/templ" "net/http" ) func main() { component := hello("some name") http.Handle("/", templ.Handler(component)) fmt.Println("starting to serve on :3000") http.ListenAndServe(":3000", nil) }