nixin-backend/main.go
2024-10-03 14:36:31 +03:00

14 lines
261 B
Go

package main
import (
"fmt"
"github.com/a-h/templ"
"net/http"
)
func main() {
http.Handle("/", templ.Handler(root()))
http.Handle("/noheader", templ.Handler(hello("12b et mrflos")))
fmt.Println("Listening on :3000")
http.ListenAndServe(":3000", nil)
}