iris/_examples/structuring/bootstrap/main.go
kataras 666bcacf20 Update to version 8.5.5
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
2017-11-02 05:50:56 +02:00

15 lines
411 B
Go

package main
import (
"github.com/kataras/iris/_examples/structuring/bootstrap/bootstrap"
"github.com/kataras/iris/_examples/structuring/bootstrap/middleware/identity"
"github.com/kataras/iris/_examples/structuring/bootstrap/routes"
)
func main() {
app := bootstrap.New("Awesome App", "kataras2006@hotmail.com")
app.Bootstrap()
app.Configure(identity.Configure, routes.Configure)
app.Listen(":8080")
}