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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user