owncast/experiment/main.go
2024-03-24 22:38:41 -07:00

18 lines
321 B
Go

package main
import (
"net/http"
)
func main() {
s := Handlers{}
h := Handler(s)
// r := chi.NewRouter()
// r.Use(middleware.Logger)
// r.Get("/welcome", func(w http.ResponseWriter, r *http.Request) {
// w.Write([]byte("welcome"))
// })
// r.Mount("/", Handler(&handlers))
http.ListenAndServe(":3000", h)
}