14 lines
241 B
Go
Raw Normal View History

2023-02-06 02:51:05 +09:00
package main
import (
"net/http"
"github.com/syumai/workers"
"github.com/syumai/workers/_examples/d1-blog-server/app"
2023-02-06 02:51:05 +09:00
)
func main() {
http.Handle("/articles", app.NewArticleHandler())
workers.Serve(nil) // use http.DefaultServeMux
}