|
|
|
@ -2,6 +2,7 @@ package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"log"
|
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
|
|
"github.com/a-h/templ"
|
|
|
|
@ -23,5 +24,5 @@ func main() {
|
|
|
|
|
func() templ.Component { return Click(clicks) },
|
|
|
|
|
func() { clicks++ },
|
|
|
|
|
))
|
|
|
|
|
http.ListenAndServe(":3333", nil)
|
|
|
|
|
log.Fatal(http.ListenAndServe(":3333", nil))
|
|
|
|
|
}
|
|
|
|
|