Quick Start
1. Install
go get github.com/yuin/cidre
2. Create first app.go
package main
import (
"github.com/yuin/cidre"
"net/http"
)
func main() {
app := cidre.NewApp(cidre.DefaultAppConfig())
root := app.MountPoint("/")
root.Get("show_welcome", "welcome", func(w http.ResponseWriter, r *http.Request) {
app.Renderer.Text(w, "Welcome!")
})
app.Run()
}