-
Notifications
You must be signed in to change notification settings - Fork 0
Roadmap
Pratham Jaiswal edited this page Oct 26, 2022
·
5 revisions
Expresso Roadmap
Q: how easy developing experience can expresso provide
A: This easy 👇🏻
// Hello World example
package main
import (
"fmt"
"net/http"
"github.com/pr47h4m/expresso"
)
func main() {
app := expresso.NewApp()
app.GET("/hello", HelloWorld)
app.ListenAndServe(":80")
}
func HelloWorld(req *expresso.Request, res expresso.Response) {
data := expresso.JSON{
"status": "success",
"data": "Hello world",
}
res.Send(data)
}