iris/_examples/structuring/mvc/main.go
Gerasimos (Makis) Maropoulos cf1e580cde Add two examples for folder structuring as requested at https://github.com/kataras/iris/issues/748
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
2017-10-01 04:31:13 +03:00

16 lines
369 B
Go

package main
import (
"github.com/kataras/iris"
"github.com/kataras/iris/_examples/structuring/mvc/app"
)
func main() {
// http://localhost:8080
// http://localhost:8080/follower/42
// http://localhost:8080/following/42
// http://localhost:8080/like/42
app.Boot(iris.Addr(":8080"), iris.WithoutServerError(iris.ErrServerClosed), iris.WithoutVersionChecker)
}