Lumen a php microframework by the creators of laravel:
https://lumen.laravel.com/
$app->get('user/{id}', function($id) {
return User::findOrFail($id);
https://tutorialedge.net/golang/creating-simple-web-server-with-golang/
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
})
http.HandleFunc("/hi", func(w http.ResponseWriter, r *http.Request){
fmt.Fprintf(w, "Hi")
})
log.Fatal(http.ListenAndServe(":8081", nil))