• Sky released this 2025-04-26 15:19:25 -05:00 | 4 commits to master since this release

    In the interest of having an incredibly fast and easy-to-use router, it felt like a good idea to have the router be fully capable with existing HTTP servers. Therefore, the Router has been reworked to be directly integrated with net/http, allowing you to very quickly get up and running with a server.

    r := router.New()
    
    r.Get("/", func(w router.Res, r router.Req, params []string) {
        fmt.Fprintf(w, "Root handler")
    })
    
    http.ListenAndServe(":8080", r)
    
    Downloads