1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

Nothing special here. Come on post some good feature requests, I'm starting to get bored!

Former-commit-id: 6afc6ab3a3d2c35bc588dc91c132f1f7a6b24db3
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-02-28 15:41:39 +02:00
parent 963e4609cf
commit f26dd69f9c
4 changed files with 13 additions and 6 deletions

View File

@@ -8,7 +8,8 @@ import (
func main() {
app := iris.New()
app.Adapt(httprouter.New()) // adapt a router first of all
app.Adapt(iris.DevLogger()) // adapt a simple internal logger to print any errors
app.Adapt(httprouter.New()) // adapt a router, you can use gorillamux too
app.Use(i18n.New(i18n.Config{
Default: "en-US",