framework1/main.go

17 lines
219 B
Go
Raw Normal View History

2024-10-16 16:53:09 +08:00
package main
import (
"framework1/framework"
"net/http"
)
func main() {
core := framework.NewCore()
registerRouter(core)
server := &http.Server{
Handler: core,
Addr: ":8888",
}
server.ListenAndServe()
}