mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 11:11:03 +01:00
666bcacf20
Former-commit-id: b5be58709f17758a8df3ebc99270b97ccd8b18f2
15 lines
411 B
Go
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")
|
|
}
|